(message string, errData any)
| 304 | } |
| 305 | |
| 306 | func (e *Event) ForbiddenError(message string, errData any) *ApiError { |
| 307 | return NewForbiddenError(message, errData) |
| 308 | } |
| 309 | |
| 310 | func (e *Event) UnauthorizedError(message string, errData any) *ApiError { |
| 311 | return NewUnauthorizedError(message, errData) |