# Function: normalizeError()
normalizeError(
error):object
Defined in: packages/driver-adapter-core/src/index.ts:180
Convert unknown thrown values into the structured error shape used by driver events.
Parameters
error
unknown
Returns
object
name
name:
string
message
message:
string
code?
optionalcode?:string
cause?
optionalcause?:string
nextAction?
optionalnextAction?:string