hasErrorCode

fun hasErrorCode(): Boolean

Returns if the error code is set (i.e., not null).

Return

true if the error code is not null.