Sha256: cc291bcb0ae944f9b105699bfaae25609993f140e97a4e8166c4006381f7126f

Contents?: true

Size: 533 Bytes

Versions: 2

Compression:

Stored size: 533 Bytes

Contents

module Makura
  # Mother and namespace of all exceptions
  class Error < ::RuntimeError
    class ConnectionRefused < Error; end
    class RequestFailed < Error; end
    class ResourceNotFound < RequestFailed; end
    class ServerBrokeConnection < RequestFailed; end
    class Conflict < RequestFailed; end
    class MissingRevision < RequestFailed; end
    class BadRequest < RequestFailed; end
    class Authorization < RequestFailed; end
    class NotFound < RequestFailed; end
    class FileExists < RequestFailed; end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
makura-2012.01 lib/makura/error.rb
makura-2011.01.21 lib/makura/error.rb