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