android-components / mozilla.components.service.fxa / FxaException

# FxaException

`open class FxaException : Exception` (source)

Wrapper class for the exceptions thrown in the Rust library, which ensures that the error messages will be consumed and freed properly in Rust.

### Exceptions

Panic | `class Panic : FxaException`
Unauthorized | `class Unauthorized : FxaException`
Unspecified | `class Unspecified : FxaException`

### Constructors

<init> | `FxaException(message: String)` Wrapper class for the exceptions thrown in the Rust library, which ensures that the error messages will be consumed and freed properly in Rust.

### Companion Object Functions

fromConsuming | `fun fromConsuming(e: Error): FxaException`

### Inheritors

Panic | `class Panic : FxaException`
Unauthorized | `class Unauthorized : FxaException`
Unspecified | `class Unspecified : FxaException`