ErrorCategory type

Defines values for ErrorCategory. Possible values include: 'userError', 'serverError'

type ErrorCategory = "usererror" | "servererror"