Sha256: baae710604769e6cfe69dd89f0f5c94e9c99cbfeecaeecba8b8200b30c014492
Contents?: true
Size: 606 Bytes
Versions: 6
Compression:
Stored size: 606 Bytes
Contents
module Ldp class Error < StandardError; end class HttpError < RuntimeError; end class BadRequest < HttpError; end # 400 class NotFound < HttpError; end # 404 class Conflict < HttpError; end # 409 class Gone < HttpError; end # 410 class PreconditionFailed < HttpError; end # 412 class UnexpectedContentType < RuntimeError; end class GraphDifferenceException < Ldp::Error attr_reader :diff def initialize message, diff super(message) @diff = diff end end ETagMismatch = PreconditionFailed # deprecation end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
ldp-1.2.1 | lib/ldp/error.rb |
ldp-1.2.0 | lib/ldp/error.rb |
ldp-1.1.0 | lib/ldp/error.rb |
ldp-1.0.3 | lib/ldp/error.rb |
ldp-1.0.2 | lib/ldp/error.rb |
ldp-1.0.1 | lib/ldp/error.rb |