MalformedMessageException

fun MalformedMessageException(errorCode: AvailErrorCode, descriptionSupplier: () -> String)

Construct a new MalformedMessageException with the specified error code and the specified Supplier that describes the problem.

Parameters

errorCode
descriptionSupplier

A Supplier that produces a String describing what was malformed about the signature that failed to be parsed by a MessageSplitter.