(message string, errData any)
| 300 | } |
| 301 | |
| 302 | func (e *Event) NotFoundError(message string, errData any) *ApiError { |
| 303 | return NewNotFoundError(message, errData) |
| 304 | } |
| 305 | |
| 306 | func (e *Event) ForbiddenError(message string, errData any) *ApiError { |
| 307 | return NewForbiddenError(message, errData) |