Preparing search index...
The search index is not available
@web-pacotes/foundation-types
@web-pacotes/foundation-types
safeUnknownError
Function safeUnknownError
safe
Unknown
Error
(
error
)
:
Error
Converts a value of type [unknown] to [Error].
Parameters
error
:
unknown
the unknown value
Returns
Error
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@web-
pacotes/foundation-
types
Either
IOError
Lazy
Option
Typed
Error
Unknown
Error
Async
Lazy
Lazy
Left
None
Read
Error
Right
Some
Typed
Error
Unknown
Error
Write
Error
compute
computed
empty
fold
is
Left
is
Read
Error
is
Right
is
Typed
Error
is
Write
Error
present
safe
Async
Throw
Call
safe
Throw
Call
safe
Unknown
Error
unwrap
wrap
Generated using
TypeDoc
Converts a value of type [unknown] to [Error].