Exception: RubytMustNotBeNilError

Inherits:
RubytError show all
Defined in:
lib/types/errors/rubyt_must_not_be_nil_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = 'must not be nil') ⇒ RubytMustNotBeNilError

Returns a new instance of RubytMustNotBeNilError.



6
# File 'lib/types/errors/rubyt_must_not_be_nil_error.rb', line 6

def initialize(message = 'must not be nil') = super(message.nil? ? 'must not be nil' : message)