summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/server.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-02-14 11:00:46 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-02-14 11:01:09 -0700
commit2cc5d2227dd8b8ad2d71112709ec29ab34fcd0ea (patch)
tree23756a2e0daa636b7d9ed9fcc61c42242f5382f1 /modules/caddyhttp/server.go
parent15bf9c196c5972051f40ebadf50811bd06e328dd (diff)
Minor tweaks to docs/comments
Diffstat (limited to 'modules/caddyhttp/server.go')
-rw-r--r--modules/caddyhttp/server.go17
1 files changed, 7 insertions, 10 deletions
diff --git a/modules/caddyhttp/server.go b/modules/caddyhttp/server.go
index 1c896a4..124331d 100644
--- a/modules/caddyhttp/server.go
+++ b/modules/caddyhttp/server.go
@@ -324,16 +324,13 @@ type HTTPErrorConfig struct {
// chain returns an error. In an error route, extra
// placeholders are available:
//
- // {http.error.status_code}
- // The recommended HTTP status code
- // {http.error.status_text}
- // The status text associated with the recommended status code
- // {http.error.message}
- // The error message
- // {http.error.trace}
- // The origin of the error
- // {http.error.id}
- // A short, human-conveyable ID for the error
+ // Placeholder | Description
+ // ------------|---------------
+ // `{http.error.status_code}` | The recommended HTTP status code
+ // `{http.error.status_text}` | The status text associated with the recommended status code
+ // `{http.error.message}` | The error message
+ // `{http.error.trace}` | The origin of the error
+ // `{http.error.id}` | An identifier for this occurrence of the error
Routes RouteList `json:"routes,omitempty"`
}