Exception: Core::Boundary::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/core/boundary/error.rb

Overview

public

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, result:) ⇒ Error

Returns a new instance of Error.



8
9
10
11
12
# File 'lib/core/boundary/error.rb', line 8

def initialize(message = nil, result:)
  super(message)

  @result = result
end

Instance Attribute Details

#resultObject (readonly)

Returns the value of attribute result.



14
15
16
# File 'lib/core/boundary/error.rb', line 14

def result
  @result
end