Sha256: e57617e502e4efa8fd0b412bdffab590ff3d915972aec81179bac85e2e618ca9
Contents?: true
Size: 1.34 KB
Versions: 5
Compression:
Stored size: 1.34 KB
Contents
module Inferno module Exceptions class TestResultException < RuntimeError end class AssertionException < TestResultException def result 'fail' end end class SkipException < TestResultException def result 'skip' end end class OmitException < TestResultException def result 'omit' end end class PassException < TestResultException def result 'pass' end end class WaitException < TestResultException def result 'wait' end end class CancelException < TestResultException def result 'cancel' end end class ParentNotLoadedException < RuntimeError def initialize(klass, id) super("No #{klass.name.demodulize} found with id '#{id}'") end end class ValidatorNotFoundException < RuntimeError def initialize(validator_name) super("No '#{validator_name}' validator found") end end class RequiredInputsNotFound < RuntimeError def initialize(missing_inputs) super("Missing the following required inputs: #{missing_inputs.join(', ')}") end end class NotUserRunnableException < RuntimeError def initialize super('The chosen runnable must be run as part of a group') end end end end
Version data entries
5 entries across 5 versions & 1 rubygems