Function hasErrorCode

  • Parameters

    • error: unknown

    Returns error is ErrorWithCode