Skip to content

Support user custom function to parse errors #48

@shpigluto

Description

@shpigluto

It can be nice to have support to add a custom function to parse errors

for example, we can add a property to the 'logging' config options like this:

 setGlobalInstance(
        new Monitor({
              logging: {
                  logger,
                  logErrorsAsWarnings: true,
                  defaultParseError: <user custom parse error function>,
              },
        })
    );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions