• Create a NBError for schema validation errors. Ensure that ajv validate function has been called before calling this function.

    Parameters

    • validate: ValidateFunction<unknown>

      ajv validate function

    • errorPrefix: string

      error message prefix

    • Optional code: string

      error code

    Returns NBError

    • NBError with schema validation errors

Generated using TypeDoc