Exception: ShotgridApiRuby::ShotgridCallError

Inherits:
StandardError
  • Object
show all
Extended by:
Forwardable, T::Sig
Defined in:
lib/shotgrid_api_ruby/shotgrid_call_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response:, message:) ⇒ void

Parameters:

  • response (T.untyped)
  • message (String)


10
11
12
13
# File 'lib/shotgrid_api_ruby/shotgrid_call_error.rb', line 10

def initialize(response:, message:)
  @response = T.let(response, T.untyped)
  super(message)
end

Instance Attribute Details

#responseT.untyped (readonly)

Returns:

  • (T.untyped)


16
17
18
# File 'lib/shotgrid_api_ruby/shotgrid_call_error.rb', line 16

def response
  @response
end