Exception: PipeLineDealer::Error::Connection::Unprocessable
- Inherits:
-
PipeLineDealer::Error::Connection
- Object
- Exception
- PipeLineDealer::Error
- PipeLineDealer::Error::Connection
- PipeLineDealer::Error::Connection::Unprocessable
- Defined in:
- lib/pipe_line_dealer/error/connection.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Attributes inherited from PipeLineDealer::Error
Instance Method Summary collapse
-
#initialize(errors) ⇒ Unprocessable
constructor
A new instance of Unprocessable.
Methods inherited from PipeLineDealer::Error
Constructor Details
#initialize(errors) ⇒ Unprocessable
Returns a new instance of Unprocessable.
10 11 12 13 |
# File 'lib/pipe_line_dealer/error/connection.rb', line 10 def initialize(errors) @errors = errors @message = "Couldn't save to the server: #{errors.inspect}" end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
8 9 10 |
# File 'lib/pipe_line_dealer/error/connection.rb', line 8 def errors @errors end |