if (errors.contains("device_confirmation_required")) {
throw new UnauthorizedDeviceException();
} else if (errors.contains("2fa_required")) {
throw new TwoFactorRequiredException();
} else if (errors.contains("2fa_incorrect")) {
throw new TwoFactorIncorrectException();
} else if (errors.contains("incorrect_credentials")) {
throw new CredentialsIncorrectException();
}
throw new CoinbaseException(response.getErrors());
}