Details sends an error with a message and details to the client.
(ctx *context.Context, msg, details string, detailsArgs ...interface{})
| 276 | |
| 277 | // Details sends an error with a message and details to the client. |
| 278 | func (e ErrorCodeName) Details(ctx *context.Context, msg, details string, detailsArgs ...interface{}) { |
| 279 | fail(ctx, e, msg, sprintf(details, detailsArgs...), nil, nil) |
| 280 | } |
| 281 | |
| 282 | // Data sends an error with a message and json data to the client. |
| 283 | func (e ErrorCodeName) Data(ctx *context.Context, msg string, data interface{}) { |
no test coverage detected