ProtocolException constructor

const ProtocolException(
  1. String message
)

Creates a protocol failure with message.

Implementation

const ProtocolException(String message)
  : super(code: ErrorCodes.protocolError, message: message, statusCode: 400);