KarlInstructionParseException
Exception thrown when KarlInstruction parsing fails due to invalid input format or content. This custom exception helps differentiate parsing errors from other types of exceptions.
Parameters
message
A descriptive message about the parsing error, ideally explaining what was wrong with the input.
cause
The underlying cause of the exception (optional, e.g., from a JSON parsing library).