37 lines
4.8 KiB
HTML
37 lines
4.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>HttpStatusException (handy_http_primitives.response.HttpStatusException)</title>
|
|
<meta charset="utf-8" />
|
|
<meta content="width=device-width, initial-scale=1" name="viewport" />
|
|
<link href="style.css" rel="stylesheet" />
|
|
<script src="script.js" type="text/javascript"></script>
|
|
|
|
|
|
<link href="search-results.html" rel="prefetch" />
|
|
</head>
|
|
<body>
|
|
<div id="page-header">
|
|
<div id="logotype">
|
|
<span>Documentation</span>
|
|
<nav>
|
|
<a href="http://dlang.org/">Dlang.org</a>
|
|
</nav>
|
|
</div>
|
|
|
|
<form action="search-docs.html" id="search">
|
|
<input name="searchTerm" placeholder="Find a symbol name..." type="search" />
|
|
<input type="submit" value="Go" />
|
|
</form>
|
|
</div>
|
|
<div id="page-body">
|
|
<div id="page-content">
|
|
<h1>HttpStatusException</h1><div class="breadcrumbs"><a class="breadcrumb" href="handy_http_primitives.html">handy_http_primitives</a> <a class="breadcrumb" href="handy_http_primitives.response.html">response</a> </div><div><div class="documentation-comment synopsis"><div><p>An exception that can be thrown while handling an HTTP request, to indicate
|
|
that the server should return a specified response code, usually when you
|
|
want to short-circuit due to an error.</p></div></div></div><div class="annotated-prototype"><div class="aggregate-prototype"><div class="attributes"></div><span class="builtin-type">class</span> HttpStatusException : Exception {<div class="aggregate-member"><a href="handy_http_primitives.response.HttpStatusException.status.html"><div class="attributes">const </div><tt class="highlighted"><span class="hid">StatusInfo</span></tt> <span class="name">status</span>;</a></div><div class="aggregate-member"><a href="handy_http_primitives.response.HttpStatusException.this.1.html"><span class="lang-feature name">this</span>(StatusInfo status, string message, Throwable next);</a></div><div class="aggregate-member"><a href="handy_http_primitives.response.HttpStatusException.this.2.html"><span class="lang-feature name">this</span>(StatusInfo status, string message);</a></div><div class="aggregate-member"><a href="handy_http_primitives.response.HttpStatusException.this.3.html"><span class="lang-feature name">this</span>(StatusInfo status);</a></div>}</div></div><h2 id="constructors"><a class="header-anchor" href="#constructors">Constructors</a></h2><dl class="member-list constructors"><dt><a href="handy_http_primitives.response.HttpStatusException.this.1.html">this</a><div class="simplified-prototype" style="max-width: 60ch;"><span class="lang-feature name">this</span>(StatusInfo status, string message, Throwable next)</div></dt><dd><div><span class="undocumented-note">Undocumented in source.</span></div></dd><dt><a href="handy_http_primitives.response.HttpStatusException.this.2.html">this</a><div class="simplified-prototype" style="max-width: 42ch;"><span class="lang-feature name">this</span>(StatusInfo status, string message)</div></dt><dd><div><span class="undocumented-note">Undocumented in source.</span></div></dd><dt><a href="handy_http_primitives.response.HttpStatusException.this.3.html">this</a><div class="simplified-prototype" style="max-width: 25ch;"><span class="lang-feature name">this</span>(StatusInfo status)</div></dt><dd><div><span class="undocumented-note">Undocumented in source.</span></div></dd></dl><h2 id="members"><a class="header-anchor" href="#members">Members</a></h2><h3 class="member-list-header hide-from-toc" id="variable"><a class="header-anchor" href="#variable">Variables</a></h3><dl class="member-list native"><dt><a href="handy_http_primitives.response.HttpStatusException.status.html">status</a><div class="simplified-prototype" style="max-width: 19ch;"><tt class="highlighted"><span class="hid">StatusInfo</span></tt> <span class="name">status</span>;</div></dt><dd><div><span class="undocumented-note">Undocumented in source.</span></div></dd></dl><div></div></div>
|
|
<div id="page-nav"><a class="parent" href="handy_http_primitives.html">handy_http_primitives</a> <a class="parent" href="handy_http_primitives.response.html">response</a>
|
|
<span class="type-separator">classes</span><ul><li><a class="class current" href="handy_http_primitives.response.HttpStatusException.html">HttpStatusException</a></li></ul><span class="type-separator">enums</span><ul><li><a class="enum" href="handy_http_primitives.response.ContentTypes.html">ContentTypes</a></li><li><a class="enum" href="handy_http_primitives.response.HttpStatus.html">HttpStatus</a></li></ul><span class="type-separator">structs</span><ul><li><a class="struct" href="handy_http_primitives.response.ServerHttpResponse.html">ServerHttpResponse</a></li><li><a class="struct" href="handy_http_primitives.response.StatusInfo.html">StatusInfo</a></li></ul></div>
|
|
</div>
|
|
<div id="page-footer">Page generated by <a href="https://github.com/adamdruppe/adrdox">adrdox</a></div>
|
|
</body>
|
|
</html> |