Skip to content

RDB$ERROR syntax extension #9074

Description

@pastorkaluga

In addition to the MESSAGE, add a new context, p.e. CUSTOM_MESSAGE, to receive only a custom exception message, without exception number, name, and stack.

example MESSAGE

exception 113
ARN$ERROR
Invalid state change for used ticket
At procedure ARN$SET_STATE line: 176, col: 31
At procedure SALE$DOC_DELETE line: 131, col: 40
At procedure EXT$BILL_REFUND_START line: 111, col: 11
At procedure EXT$BILL_REFUND line: 49, col: 12.

example CUSTOM_MESSAGE

Invalid state change for used ticket

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions