Sha256: 4ade2b6e7e6dd7e23ac3016b84caf0f6965243dbe2f58e9e22da254b792d18bb

Contents?: true

Size: 597 Bytes

Versions: 1

Compression:

Stored size: 597 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
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

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