Sha256: ee43fa3463d010c1fccf8b7592134f46fd9745cc6e3f78facc35b6fce15e18f5

Contents?: true

Size: 381 Bytes

Versions: 4

Compression:

Stored size: 381 Bytes

Contents

# This class holds various classes for error-handeling.
class Http2::Errors
  class BaseError < RuntimeError
    attr_accessor :response
  end

  class Noaccess < BaseError; end

  class Internalserver < BaseError; end

  class Notfound < BaseError; end

  class Badrequest < BaseError; end

  class Unauthorized < BaseError; end

  class UnsupportedMediaType < BaseError; end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
http2-0.0.36 lib/http2/errors.rb
http2-0.0.35 lib/http2/errors.rb
http2-0.0.34 lib/http2/errors.rb
http2-0.0.33 lib/http2/errors.rb