Sha256: 5f8eaeefbd79a71ec35cc2abc3b9e5662bc7c43251c6f580f2992ebbef9fb8c8

Contents?: true

Size: 817 Bytes

Versions: 2

Compression:

Stored size: 817 Bytes

Contents

##
# This module store errors to be handled inside Midori
module Midori::Error
  # No route matched
  class NotFound < StandardError; end
  # Internal Error
  class InternalError < 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

2 entries across 2 versions & 1 rubygems

Version Path
em-midori-0.1.3 lib/em-midori/error.rb
em-midori-0.1.2 lib/em-midori/error.rb