Exception: NgrokAPI::Errors::NotFoundError
- Inherits:
-
NgrokAPI::Error
- Object
- StandardError
- NgrokAPI::Error
- NgrokAPI::Errors::NotFoundError
- Defined in:
- lib/ngrokapi/errors/not_found_error.rb
Overview
Error representing a 404 not found
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(msg: "Resource not found", response: nil) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Constructor Details
#initialize(msg: "Resource not found", response: nil) ⇒ NotFoundError
Returns a new instance of NotFoundError.
12 13 14 15 |
# File 'lib/ngrokapi/errors/not_found_error.rb', line 12 def initialize(msg: "Resource not found", response: nil) @response = response super(msg: msg, response: response) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
10 11 12 |
# File 'lib/ngrokapi/errors/not_found_error.rb', line 10 def response @response end |