convert

abstract fun convert(error: E): ErrorInfo

Converts an exception to an ErrorInfo object.

Return

the standardized error information

Parameters

error

the exception to convert