of

fun of(errorCode: String, errorMsg: String? = null, bindingErrors: List<BindingError> = emptyList()): ErrorInfo