
All runner errors are now in a single file. The not found error has been splitted into an error for runner not found and for environment not found.
22 lines
395 B
Ruby
22 lines
395 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Runner
|
|
class Error < ApplicationError
|
|
class BadRequest < Error; end
|
|
|
|
class EnvironmentNotFound < Error; end
|
|
|
|
class ExecutionTimeout < Error; end
|
|
|
|
class InternalServerError < Error; end
|
|
|
|
class NotAvailable < Error; end
|
|
|
|
class Unauthorized < Error; end
|
|
|
|
class RunnerNotFound < Error; end
|
|
|
|
class Unknown < Error; end
|
|
end
|
|
end
|