Exception: Stic::BlobError

Inherits:
Error
  • Object
show all
Defined in:
lib/stic/errors.rb

Direct Known Subclasses

InvalidMetadata

Instance Attribute Summary collapse

Attributes inherited from Error

#cause

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ BlobError

Returns a new instance of BlobError.



15
16
17
18
19
# File 'lib/stic/errors.rb', line 15

def initialize(opts = {})
  @blob = opts.fetch :blob, nil

  super opts
end

Instance Attribute Details

#blobObject (readonly)

Returns the value of attribute blob.



13
14
15
# File 'lib/stic/errors.rb', line 13

def blob
  @blob
end