• Extract the error message from an Error object

    Parameters

    • error: Error

      error object

    Returns string

    error message