core-utils
    Preparing search index...

    Function toErrorMessage

    • Converts any value to an Error instance and returns the message.

      Parameters

      • value: unknown

        The value to convert.

      Returns string

      The Error instance's message field.