Sha256: 7802aa5a070210c9dfedb65385ba53bfdc93dffc198508fe1e3f7e5dfe2ff4bf

Contents?: true

Size: 750 Bytes

Versions: 6

Compression:

Stored size: 750 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

end # module Scrivito

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
scrivito_sdk-0.70.2 lib/scrivito/errors.rb
scrivito_sdk-0.70.1 lib/scrivito/errors.rb
scrivito_sdk-0.70.0 lib/scrivito/errors.rb
scrivito_sdk-0.70.0.rc3 lib/scrivito/errors.rb
scrivito_sdk-0.70.0.rc2 lib/scrivito/errors.rb
scrivito_sdk-0.70.0.rc1 lib/scrivito/errors.rb