getErrorCodes

Returns a JSONObject mapping every catalogue name (e.g. "INVALID_API_KEY") to its numeric code (e.g. 4001):

val codes = VideoSDK.getErrorCodes()
val invalidApiKey = codes.optInt("INVALID_API_KEY") // 4001

See VideoSDKError for the full list.