Sha256: bbfdd9ab31ff5ea9315d17ad124f413828a4b6ad7e060c9a03ac99eb775aa941

Contents?: true

Size: 695 Bytes

Versions: 1

Compression:

Stored size: 695 Bytes

Contents

module Daijobu
  
  # The superclass of all the errors that Daijobu raises.
  class Error < StandardError; end

  # Raised when asking for a scheme that doesn't exist.
  # Supported schemes are :marshal, :json, :yaml, :eval, and :raw.
  class UnknownScheme < Daijobu::Error; end

  # Raised when the key-value-store object doesn't have a appropriate adapter.
  # Supported stores are MemCache, Rufus::Tokyo::Cabinet, and Rufus::Tokyo::Tyrant.
  class InvalidAdapter < Daijobu::Error; end
  
  # Raised when all of the (un)parsing schemes fail.
  class NoFallbackScheme < Daijobu::Error; end
  
  class MissingDelegate < Daijobu::Error; end
  
  class InvalidStrategy < Daijobu::Error; end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sander6-daijobu-0.3.0 lib/daijobu/errors.rb