• Type-guard to determine if an object is probably an error.

    Parameters

    • error: any

    Returns error is Error