@corefunc/corefunc
    Preparing search index...

    Function convertErrorToJson

    • Parameters

      • error:
            | RangeError
            | Error
            | EvalError
            | ReferenceError
            | SyntaxError
            | TypeError
            | URIError
            | Record<string, any>
      • OptionalshouldRemoveStackTrace: boolean = false

      Returns Record<string, string>

      convertErrorToJson

      Converts Error type to plain JSON object.

      0.1.40