Function createErrorMessage

  • Creates a string representing the error message of this object.

    Parameters

    • error: unknown

    Returns string