Function: useErrorState()
function useErrorState(dependentSetter?: (...args: any) => void): readonly [ApiError | null, Dispatch<SetStateAction<ApiError | null>>];
Defined in: lib/util.ts:298
Parameters
| Parameter | Type |
|---|---|
dependentSetter? | (...args: any) => void |
Returns
readonly [ApiError | null, Dispatch<SetStateAction<ApiError | null>>]