//[passport](../../../index.md)/[com.yandex.passport.api](../index.md)/[Passport](index.md)/[createPassportLoginError](create-passport-login-error.md)

# createPassportLoginError

[passport]\

@NonNull

open fun [createPassportLoginError](create-passport-login-error.md)(@NonNullintent: Intent): [PassportLoginError](../-passport-login-error/index.md)

Возвращает ошибку неуспешной авторизации.

#### Return

[PassportLoginError](../-passport-login-error/index.md)
