Edit

Share via


SignUpSubmitAttributesResult class

Extends

Constructors

SignUpSubmitAttributesResult(SignUpSubmitAttributesResultState)

Creates a new instance of SignUpSubmitAttributesResult.

Inherited Properties

data
error
state

Methods

createWithError(unknown)

Creates a new instance of SignUpSubmitAttributesResult with an error.

isCompleted()

Checks if the result is in a completed state.

isFailed()

Checks if the result is in a failed state.

Constructor Details

SignUpSubmitAttributesResult(SignUpSubmitAttributesResultState)

Creates a new instance of SignUpSubmitAttributesResult.

new SignUpSubmitAttributesResult(state: SignUpSubmitAttributesResultState)

Parameters

state
SignUpSubmitAttributesResultState

The state of the result.

Inherited Property Details

data

data?: void

Property Value

void

Inherited From AuthFlowResultBase.data

error

error?: SignUpSubmitAttributesError

Property Value

Inherited From AuthFlowResultBase.error

state

state: SignUpSubmitAttributesResultState

Property Value

Inherited From AuthFlowResultBase.state

Method Details

createWithError(unknown)

Creates a new instance of SignUpSubmitAttributesResult with an error.

static function createWithError(error: unknown): SignUpSubmitAttributesResult

Parameters

error

unknown

The error that occurred.

Returns

A new instance of SignUpSubmitAttributesResult with the error set.

isCompleted()

Checks if the result is in a completed state.

function isCompleted(): this

Returns

this

isFailed()

Checks if the result is in a failed state.

function isFailed(): this

Returns

this