Exception: Typecast::InternalServerError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/typecast/errors.rb

Instance Attribute Summary

Attributes inherited from ApiError

#detail, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(detail = nil) ⇒ InternalServerError

Returns a new instance of InternalServerError.



49
50
51
# File 'lib/typecast/errors.rb', line 49

def initialize(detail = nil)
  super("Internal server error", 500, detail)
end