NSDKResult.Error
Represents a failed outcome, where the requested data was not available.
Declaration
data class Error<out TData, out TError: ErrorCodeProvider>Constructors
Constructor
constructor(code: TError)
Parameters
| Name | Type | Summary |
|---|---|---|
| code | TError | The error status code indicating what went wrong |
Overload
constructor(code: Int, factory: ErrorFactory<TError>)
Parameters
| Name | Type | Summary |
|---|---|---|
| code | Int | - |
| factory | ErrorFactory<TError> | - |
Properties
| Name | Type | Summary |
|---|---|---|
| code | TError | The error status code indicating what went wrong |
Relationships
implements: NSDKResult