Sha256: 6fe51c61047f9eb1bd816654038d29b4014b671d806446af2c793d2589321026
Contents?: true
Size: 574 Bytes
Versions: 4
Compression:
Stored size: 574 Bytes
Contents
module Slayer class CommandFailureError < StandardError attr_reader :result def initialize(result) @result = result super end end class CommandNotImplementedError < StandardError def initialize(message = nil) message ||= 'Command implementation must call `fail!` or `pass!`, or '\ 'return a <Slayer::Result> object' super message end end class CommandResultNotHandledError < StandardError; end class FormValidationError < StandardError; end class ServiceDependencyError < StandardError; end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
slayer-0.3.1 | lib/slayer/errors.rb |
slayer-0.3.0 | lib/slayer/errors.rb |
slayer-0.2.1 | lib/slayer/errors.rb |
slayer-0.2.0 | lib/slayer/errors.rb |