summaryrefslogtreecommitdiff
path: root/pdf/fpdf/doc/error.htm
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/fpdf/doc/error.htm')
-rwxr-xr-xpdf/fpdf/doc/error.htm25
1 files changed, 25 insertions, 0 deletions
diff --git a/pdf/fpdf/doc/error.htm b/pdf/fpdf/doc/error.htm
new file mode 100755
index 0000000..49b6083
--- /dev/null
+++ b/pdf/fpdf/doc/error.htm
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Error</title>
+<link type="text/css" rel="stylesheet" href="../fpdf.css">
+</head>
+<body>
+<h1>Error</h1>
+<code>Error(<b>string</b> msg)</code>
+<h2>Description</h2>
+This method is automatically called in case of fatal error; it simply outputs the message
+and halts the execution. An inherited class may override it to customize the error handling
+but should always halt the script, or the resulting document would probably be invalid.
+<h2>Parameters</h2>
+<dl class="param">
+<dt><code>msg</code></dt>
+<dd>
+The error message.
+</dd>
+</dl>
+<hr style="margin-top:1.5em">
+<div style="text-align:center"><a href="index.htm">Index</a></div>
+</body>
+</html>