useError
Datalayer Core / useError
Function: useError()
useError(
initialState
):object
Defined in: tech/datalayer/core/src/hooks/useError.tsx:21
Parameters
initialState
null
| string
Returns
object
error
error:
null
|string
showError()
showError: (
errorMessage
) =>void
Parameters
errorMessage
null
| string
Returns
void