Sha256: ad56fe2e7f0fec7b04b8f221c040d27a3dba814df02b52542149ae04af809d61

Contents?: true

Size: 1.02 KB

Versions: 38

Compression:

Stored size: 1.02 KB

Contents

module Videojuicer
  module Exceptions
   
    class NotAuthorised < ::StandardError; end
    
    # Raised when a method requiring instance-specific data from the remote API
    # is called on an object that does not exist remotely.
    class NoResource < ::RuntimeError; end
    
    # Raised when a record cannot be saved because it has attributes that are well rubbish.
    class InvalidRecord < ::RuntimeError; end
    
    # Raised when a request is completely buggered by the remote API.
    class RemoteApplicationError < ::StandardError; end
    
    # Raised when the remote resource refuses to carry out an action.
    class Forbidden < ::StandardError; end
    
    # Raised when status is 401
    class Unauthenticated < ::StandardError; end
    
    # Raised when status is 406
    class NotAcceptable < ::StandardError; end
    
    # Raised when status is 411
    class ContentLengthRequired < ::StandardError; end
    
    # Raised on an unclassified exception
    class UnhandledHTTPStatus < ::StandardError; end
    
  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
videojuicer-vj-sdk-0.1.12 lib/videojuicer/shared/exceptions.rb
videojuicer-vj-sdk-0.1.5 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.8.2 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.8.0.1 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.14 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.13 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.11 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.10 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.9 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.8 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.7 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.6 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.5 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.4 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.3 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.2 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.1 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.7.0 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.6.9 lib/videojuicer/shared/exceptions.rb
vj-sdk-0.6.8 lib/videojuicer/shared/exceptions.rb