mirror of
https://github.com/besterprotocol/besterd
synced 2023-12-13 21:00:32 +01:00
Fixed indentation in response.d
This commit is contained in:
parent
829b777c19
commit
cbd6c23db8
|
@ -110,12 +110,14 @@ public final class HandlerResponse
|
|||
error = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* If an error was envountered anyway down the processing of the
|
||||
* message-handler then raise a `ResponseError` exception.
|
||||
*/
|
||||
if(error)
|
||||
{
|
||||
throw new ResponseError(messageResponse, statusCode);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void execute(BesterConnection originalRequester)
|
||||
|
@ -174,6 +176,12 @@ public final class HandlerResponse
|
|||
|
||||
public final class ResponseError : BesterException
|
||||
{
|
||||
|
||||
/* */
|
||||
|
||||
/* The status code that resulted in the response handling error */
|
||||
private ulong statusCode;
|
||||
|
||||
this(JSONValue messageResponse, ulong statusCode)
|
||||
{
|
||||
/* TODO: Set message afterwards again */
|
||||
|
|
Loading…
Reference in a new issue