Sha256: 4789e79c04127407ef8ba7f377e28200efa285cd11b1d05068a3a499b55a4c55

Contents?: true

Size: 751 Bytes

Versions: 5

Compression:

Stored size: 751 Bytes

Contents

##
# This module store errors to be handled in Midori
module Midori::Error
  # No route matched
  class NotFound < StandardError; end
  # Midori doesn't support continuous frame of WebSockets yet
  class ContinuousFrame < StandardError; end
  # WebSocket OpCode not defined in RFC standards
  class OpCodeError < StandardError; end
  # Websocket request not masked
  class NotMasked < StandardError; end
  # Websocket frame has ended
  class FrameEnd < StandardError; end
  # Websocket Ping Pong size too large
  class PingPongSizeTooLarge < StandardError; end
  # Not sending String in EventSource
  class EventSourceTypeError < StandardError; end
  # Insert a not middleware class to middleware list
  class MiddlewareError < StandardError; end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
em-midori-0.1.1 lib/em-midori/error.rb
em-midori-0.1.0 lib/em-midori/error.rb
em-midori-0.0.9.5 lib/em-midori/error.rb
em-midori-0.0.9.4 lib/em-midori/error.rb
em-midori-0.0.9.3 lib/em-midori/error.rb