Sha256: b9f0577b76bb645c96d81a7e1cf10c20e85725038ea45d1928c65e16233d587d
Contents?: true
Size: 881 Bytes
Versions: 14
Compression:
Stored size: 881 Bytes
Contents
module MKIt class BaseException < Exception attr_reader :error_code def initialize(error_code, message = nil) super(message) @error_code = error_code end end class ServiceAlreadyExists < BaseException def initialize(message = nil) super(409, message) end end class ServiceNameMismatch < BaseException def initialize(message = nil) super(400, message) end end class InvalidPortsConfiguration < BaseException def initialize(message = nil) super(400, message) end end class ServiceNotFoundException < StandardError; end class PodNotFoundException < StandardError; end class AppAlreadyDeployedException < StandardError; end class InvalidPortMappingTypeException < StandardError; end class PoolExaustedException < StandardError; end class CmdRunnerException < StandardError; end end
Version data entries
14 entries across 14 versions & 1 rubygems