Class Net::SFTP::StatusException
In: lib/net/sftp/errors.rb
Parent: Net::SFTP::Exception

A exception class for reporting a non-success result of an operation.

Methods

message   new  

Attributes

code  [R]  The error code (numeric)
description  [R]  The description of the error
response  [R]  The response object that caused the exception.
text  [R]  Any incident-specific text given when the exception was raised

Public Class methods

Create a new status exception that reports the given code and description.

Public Instance methods

Override the default message format, to include the code and description.

[Validate]