[Snippet rust]
```rust
fn from(value: errors::ApiErrorResponse) -> Self {
        match value {
            errors::ApiErrorResponse::Unauthorized
            | errors::ApiErrorResponse::InvalidJwtToken
            | errors::ApiErrorResponse::GenericUnauthorized { .. }
```
Path: hyperswitch/crates/router/src/compatibility/stripe/errors.rs :: from (function, crate=router)

Negatives:
- hyperswitch/crates/router/tests/connectors/custombilling.rs :: should_fail_for_refund_amount_higher_than_payment_amount
- hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox.rs :: get_error_response
- hyperswitch/crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs :: get_status_of_request
- hyperswitch/crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs :: try_from
- hyperswitch/crates/router/src/db/address.rs :: update_address_by_merchant_id_customer_id