Exception: Deftones::IO::Buffers::BulkLoadError
- Defined in:
- lib/deftones/io/buffers.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ BulkLoadError
constructor
A new instance of BulkLoadError.
Constructor Details
#initialize(errors) ⇒ BulkLoadError
Returns a new instance of BulkLoadError.
11 12 13 14 |
# File 'lib/deftones/io/buffers.rb', line 11 def initialize(errors) @errors = errors super("Failed to load #{errors.length} buffer(s): #{errors.keys.join(', ')}") end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
9 10 11 |
# File 'lib/deftones/io/buffers.rb', line 9 def errors @errors end |