Class Mongo::Error::UnknownPayloadType
In: lib/mongo/error/unknown_payload_type.rb
Parent: Error

Raised if an unknown payload type is encountered when an OP_MSG is created or read.

@since 2.5.0

Methods

new  

Constants

MESSAGE = 'Unknown payload type (%s) encountered when creating or reading an OP_MSG wire protocol message.'   The error message.

@since 2.5.0

Public Class methods

Create the new exception.

@example Create the new exception.

  Mongo::Error::UnknownPayloadType.new(byte)

@param [ String ] byte The unknown payload type.

@since 2.5.0

[Validate]