Sha256: 588d0bda78198feb164f1d672e333197a6f63d7c422e1b82d76e3c6d83c750ce
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
module CloudCrowd # Base Error class which all custom CloudCrowd exceptions inherit from. # Rescuing CloudCrowd::Error (or RuntimeError) will get all custom exceptions. # If your cluster is correctly configured, you should never expect to see any # of these. class Error < RuntimeError # ActionNotFound is raised when a job is created for an action that doesn't # exist. class ActionNotFound < Error end # StorageNotFound is raised when config.yml specifies a storage back end that # doesn't exist. class StorageNotFound < Error end # If the AssetStore can't write to its scratch directory. class StorageNotWritable < Error end # StatusUnspecified is raised when a WorkUnit returns without a valid # status code. class StatusUnspecified < Error end # MissingConfiguration is raised when we're trying to run a method that # needs configuration not present in config.yml. class MissingConfiguration < Error end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
documentcloud-cloud-crowd-0.2.0 | lib/cloud_crowd/exceptions.rb |
cloud-crowd-0.2.0 | lib/cloud_crowd/exceptions.rb |