@corefunc/corefunc
    Preparing search index...

    Function errorToMessage

    • Parameters

      • error: any

        Any value, but intended to be error.

      • OptionaldefaultMessage: string

        Default message.

      Returns string

      • Error message as string.

      errorToMessage

      Transform value to string, extracts message from error, forces error message to be string.

      0.3.43