Class: ProtocolError

lib/common/errors~ProtocolError()

Error codes of the ProtocolError class: WF_PROTOCOL_ERROR: generic Whiteflag protocol error (default) WF_METAHEADER_ERROR: incorrect Whiteflag message metaheader WF_FORMAT_ERROR: Whiteflag message format error WF_REFERENCE_ERROR: Whiteflag message reference error WF_AUTH_ERROR: Whiteflag message authentication error WF_SIGN_ERROR: Whiteflag signature error WF_ENCRYPTION_ERROR: Whiteflag encryption error

Constructor

new ProtocolError()

Creates error object for Whiteflag protocol and message errors

Source:

Extends

  • DomainError