v0.0.361 call exerrListener in ginext.Error
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m37s

This commit is contained in:
2024-01-07 04:01:13 +01:00
parent 5fba7e0e2f
commit d38fa60fbc
4 changed files with 10 additions and 10 deletions

View File

@@ -328,6 +328,8 @@ type jsonAPIErrResponse struct {
func (j jsonAPIErrResponse) Write(g *gin.Context) {
j.err.Output(g)
j.err.CallListener(exerr.MethodOutput)
}
func (j jsonAPIErrResponse) WithHeader(k string, v string) HTTPResponse {