Sha256: 2fbf4e09b7ae56a8d4a1501c2c6dbd0fdf61790317609b04992785f4ec28820b

Contents?: true

Size: 900 Bytes

Versions: 14

Compression:

Stored size: 900 Bytes

Contents

module Scrivito

# @api public
class ScrivitoError < StandardError
end

# @api public
class ResourceNotFound < ScrivitoError
end

# @api public
class ObjClassNotFound < ResourceNotFound
end

# this error is raised if scrivito detects an internal problem.
# these errors should never occur when using the public api of the SDK.
class InternalError < ScrivitoError
end

# @api public
class TransformationError < ScrivitoError
  attr_reader :code

  def initialize(message, code)
    @code = code
    super(message)
  end
end

# @api public
class TransformationSourceError < TransformationError
end

# @api public
class TransformationDefinitionError < TransformationError
end

class TransferModificationsError < ScrivitoError
end

class TransferModificationsModifiedError < TransferModificationsError
end

class TransferModificationsConflictError < TransferModificationsError
end

end # module Scrivito

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
scrivito_sdk-1.0.0 lib/scrivito/errors.rb
scrivito_sdk-1.0.0.rc4 lib/scrivito/errors.rb
scrivito_sdk-1.0.0.rc3 lib/scrivito/errors.rb
scrivito_sdk-1.0.0.rc2 lib/scrivito/errors.rb
scrivito_sdk-1.0.0.rc1 lib/scrivito/errors.rb
scrivito_sdk-0.90.0 lib/scrivito/errors.rb
scrivito_sdk-0.90.0.rc3 lib/scrivito/errors.rb
scrivito_sdk-0.90.0.rc2 lib/scrivito/errors.rb
scrivito_sdk-0.90.0.rc1 lib/scrivito/errors.rb
scrivito_sdk-0.71.2 lib/scrivito/errors.rb
scrivito_sdk-0.71.1 lib/scrivito/errors.rb
scrivito_sdk-0.71.0 lib/scrivito/errors.rb
scrivito_sdk-0.71.0.rc2 lib/scrivito/errors.rb
scrivito_sdk-0.71.0.rc1 lib/scrivito/errors.rb