@yamlresume/core
    Preparing search index...

    Function getErrorMessage

    • Convert an unknown error value into a human-readable string.

      Parameters

      • error: unknown

        The error value.

      Returns string

      The error message if it is an Error, otherwise its string representation.