Class: Solid::Output::Failure

Inherits:
Solid::Output show all
Includes:
Failure
Defined in:
lib/solid/output/failure.rb

Constant Summary

Constants inherited from Solid::Output

EXPECTED_OUTCOME

Constants inherited from Result

Result::TYPE_AND_VALUE, Result::VERSION

Instance Attribute Summary

Attributes inherited from Result

#data, #event_logs, #terminal

Instance Method Summary collapse

Methods included from Failure

#failure?, #success?, #value_or

Methods inherited from Solid::Output

Failure, Success, #[], #and_then, #and_then!, #dig, #fetch, #fetch_values, #initialize, #slice, #values_at

Methods inherited from Result

#==, Failure, Success, #and_then, #and_then!, config, configuration, #deconstruct, #deconstruct_keys, event_logs, #failure?, #handle, #hash, #initialize, #inspect, #method_missing, mixin, #on, #on_failure, #on_success, #on_unknown, #respond_to_missing?, #success?, #terminal?, #type, #type?, #value, #value_or

Constructor Details

This class inherits a constructor from Solid::Output

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Solid::Result

Instance Method Details

#and_expose(_type, _keys, **_options) ⇒ Object



6
7
8
# File 'lib/solid/output/failure.rb', line 6

def and_expose(_type, _keys, **_options)
  self
end