Class: Apill::Errors::InvalidSubdomainError
- Inherits:
-
HumanError::Errors::RequestError
- Object
- HumanError::Errors::RequestError
- Apill::Errors::InvalidSubdomainError
- Defined in:
- lib/apill/errors/invalid_subdomain_error.rb
Instance Attribute Summary collapse
-
#http_host ⇒ Object
Returns the value of attribute http_host.
Instance Method Summary collapse
- #developer_details ⇒ Object
- #developer_message ⇒ Object
- #friendly_message ⇒ Object
- #http_status ⇒ Object
Instance Attribute Details
#http_host ⇒ Object
Returns the value of attribute http_host.
6 7 8 |
# File 'lib/apill/errors/invalid_subdomain_error.rb', line 6 def http_host @http_host end |
Instance Method Details
#developer_details ⇒ Object
17 18 19 |
# File 'lib/apill/errors/invalid_subdomain_error.rb', line 17 def developer_details { http_host: http_host } end |
#developer_message ⇒ Object
12 13 14 15 |
# File 'lib/apill/errors/invalid_subdomain_error.rb', line 12 def 'The resource you attempted to access is either not authorized for the ' \ 'authenticated user or does not exist.' end |
#friendly_message ⇒ Object
21 22 23 |
# File 'lib/apill/errors/invalid_subdomain_error.rb', line 21 def 'Sorry! The resource you tried to access does not exist.' end |
#http_status ⇒ Object
8 9 10 |
# File 'lib/apill/errors/invalid_subdomain_error.rb', line 8 def http_status 404 end |