File: nerr_pass_ctx.3

package info (click to toggle)
clearsilver 0.10.5-4
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 3,296 kB
  • sloc: ansic: 24,586; python: 4,233; sh: 2,502; cs: 1,429; ruby: 819; java: 735; makefile: 589; perl: 120; lisp: 34; sql: 21
file content (41 lines) | stat: -rw-r--r-- 987 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.TH nerr_pass_ctx 3 "12 July 2007" "ClearSilver" "util/neo_err.h"

.de Ss
.sp
.ft CW
.nf
..
.de Se
.fi
.ft P
.sp
..
.SH NAME
nerr_pass_ctx \- pass a clearsilver error up a level in the call chain
.SH SYNOPSIS
.Ss
#include <util/neo_err.h>
.Se
.Ss
nerr_pass_ctx()
.Se

.SH ARGUMENTS
with the macro, the function name, file and lineno are
.br
automagically recorded.  Just pass the error and
.br
a printf format string giving more information about where
.br
the error is occuring.

.SH DESCRIPTION
this function is used to pass an error up a level in the
call chain (ie, if the error isn't handled at the
current level).  This allows us to track the traceback
of the error.
This version includes context information about lower
errors

.SH "SEE ALSO"
.BR nerr_error_traceback "(3), "nerr_pass "(3), "nerr_error_string "(3), "defined "(3), "nerr_pass_ctx "(3), "nerr_passf "(3), "nerr_init "(3), "nerr_match "(3), "nerr_log_error "(3), "nerr_ignore "(3), "nerr_register "(3), "nerr_handle