File: h2_error.tld

package info (click to toggle)
lua-http 0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,100 kB
  • sloc: makefile: 60; sh: 16
file content (15 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
interface h2_error
	const new: (self, {
		"name": string?,
		"code": integer?,
		"description": string?,
		"message": string?,
		"traceback": string?,
		"stream_error": boolean?
	}) -> (h2_error)
	const new_traceback: (self, string, boolean, integer?) -> (h2_error)
	const error:  (self, string, boolean, integer?) -> (void)
end

errors: {any:h2_error}
is: (any) -> (boolean)