Skip to main content

ErrorCodeOf

func ErrorCodeOf(err error) ErrorCode

ErrorCodeOf returns the first KeyHold error code in an unwrap chain.

Parameters​

NameTypeDescription
errerrorParameter err of ErrorCodeOf.

Returns​

ErrorCode

Source​

This page is generated from SDK source metadata and the translation catalog.