Exception: Uplink::StorjError
- Inherits:
-
StandardError
- Object
- StandardError
- Uplink::StorjError
- Defined in:
- lib/uplink/storj_error.rb
Direct Known Subclasses
BandwidthLimitExceededError, BucketAlreadyExistsError, BucketNameInvalidError, BucketNotEmptyError, BucketNotFoundError, CanceledError, EdgeAuthDialFailedError, EdgeRegisterAccessFailedError, InternalError, InvalidHandleError, ObjectKeyInvalidError, ObjectKeyNotFoundError, SegmentsLimitExceededError, StorageLimitExceededError, TooManyRequestError, UploadDoneError
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ StorjError
constructor
A new instance of StorjError.
Constructor Details
#initialize(code, message) ⇒ StorjError
Returns a new instance of StorjError.
7 8 9 10 |
# File 'lib/uplink/storj_error.rb', line 7 def initialize(code, ) super() @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
5 6 7 |
# File 'lib/uplink/storj_error.rb', line 5 def code @code end |