Sha256: c58c3e191ce6305dccf287a8fcbd6fc04f0493dddb3c0887faa283eeda037564

Contents?: true

Size: 347 Bytes

Versions: 10

Compression:

Stored size: 347 Bytes

Contents

#This class holds various classes for error-handeling.
class Http2::Errors
  #Raised when trying to access something you dont have access to.
  class Noaccess < RuntimeError
    attr_accessor :response
  end
  
  #Raised when an internal error occurs on the servers side.
  class Internalserver < RuntimeError
    attr_accessor :response
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
http2-0.0.17 include/errors.rb
http2-0.0.16 include/errors.rb
http2-0.0.15 include/errors.rb
http2-0.0.14 include/errors.rb
http2-0.0.13 include/errors.rb
http2-0.0.12 include/errors.rb
http2-0.0.11 include/errors.rb
http2-0.0.10 include/errors.rb
http2-0.0.9 include/errors.rb
http2-0.0.6 include/errors.rb