class Cortex::Exceptions::ApiError
Attributes
http_status[RW]
Public Class Methods
new(message = 'Internal server error', http_status = :internal_server_error)
click to toggle source
Calls superclass method
# File lib/cortex/exceptions.rb, line 10 def initialize(message = 'Internal server error', http_status = :internal_server_error) @http_status = http_status super(message) end