1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-21 11:57:02 +00:00
Former-commit-id: 3be90d3099bfd9eabebd299dc08f9d6c1e6c2a29
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-05-16 01:00:51 +03:00
parent ad74d7b935
commit 44eafe739b
10 changed files with 11 additions and 11 deletions

View File

@@ -22,7 +22,7 @@ func main() {
// we should use t.Context if we want to rollback on any errors lives inside this function clojure.
t.Context().Text("Blablabla this should not be sent to the client because we will fill the err with a message and status")
// virtualize a fake error here, for the shake of the example
// virtualize a fake error here, for the sake of the example
fail := true
if fail {
err.StatusCode = iris.StatusInternalServerError