Exception: Poncho::ServerError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Poncho::ServerError
show all
- Defined in:
- lib/poncho/error.rb
Instance Method Summary
collapse
Methods inherited from Error
#as_json, #to_json
Instance Method Details
#code ⇒ Object
17
18
19
|
# File 'lib/poncho/error.rb', line 17
def code
500
end
|
#message ⇒ Object
25
26
27
28
|
# File 'lib/poncho/error.rb', line 25
def message
"Sorry, something went wrong. " +
"We've been notified about the problem."
end
|
#type ⇒ Object
21
22
23
|
# File 'lib/poncho/error.rb', line 21
def type
:server_error
end
|