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

# Error

`open class Error : Structure` (source)

### Types

ByReference | `class ByReference : Error, ByReference`

### Constructors

<init> | `Error()`

### Properties

code | `var code: Int`
message | `var message: Pointer?`

### Functions

consumeMessage | `fun consumeMessage(): String?` Get and consume the error message, or null if there is none.
getFieldOrder | `open fun getFieldOrder(): List<String>`
getMessage | `fun getMessage(): String?` Get the error message or null if there is none.
isFailure | `fun isFailure(): Boolean` Does this represent failure?
isSuccess | `fun isSuccess(): Boolean` Does this represent success?

### Inheritors

ByReference | `class ByReference : Error, ByReference`