Skip to content

Return useful error message when handler function is not found #114

Description

@dariok

Currently, this will create an error from router.xql:288 as it is assumed that a function exists in this parameter.
If the lookup succeeds (as something is defined with the given name) but it is not a function, the resulting XQuery dynamic error, is not helpful as it simply states that $fn is not a function.

router.xql:284 could additionally verify that $fn instance of function(*).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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