Creates a processor exception with the given message and optional cause.
message
cause
const ProcessorException(this.message, [this.cause]);