Error messages

This is the list of error messages, as found in die() and exit() expressions.

MessageFileLine
0/lib/BodyParser.php87
""
/lib/BodyParser.php87
"wooooooooo!"
/demo.php37
"Cannot boot websocket handler; Aerys\\Websocket required, {$type} provided"
/lib/functions.php45
"Invalid redirect URI"
/lib/functions.php104
"Invalid redirect URI; \"http\" or \"https\" scheme required"
/lib/functions.php107
"Invalid redirect URI; Host redirect must not contain a query or fragment component"
/lib/functions.php110
"Invalid redirect code; code in the range 300..399 required"
/lib/functions.php116
"Filter error"
/lib/functions.php328
"Failed initializing deflate context"
/lib/functions.php446
"Failed adding data to deflate context"
/lib/functions.php470
"Failed adding data to deflate context"
/lib/functions.php479
"Failed adding data to deflate context"
/lib/functions.php488
"Any return value of " get_class($bootable) . '::boot() must return an instance of Aerys\Middleware and/or be callable, got ' gettype($booted) . "."
/lib/functions.php562
"Expected an array of Hosts as second parameter, but array also contains " . (is_object($host) ? "instance of " get_class($host) : gettype($host))
/lib/functions.php545
"A process may only be started once"
/lib/Process.php34
"No config file found, specify one via the -c switch on command line"
/lib/functions.php583
sprintf("Failed binding socket on %s: [Err# %s] %s"$address$errno$errstr)
/lib/WatcherProcess.php236
"Aerys is already running, can't start it again"
/lib/WatcherProcess.php144
"Unknown root option: {$option}"
/lib/Root.php624
"Document root requires a readable directory"
/lib/Root.php49
sprintf("Array of string index filenames required: %s provided"gettype($index))
/lib/Root.php640
sprintf("Array or string required for root index names: %s provided"gettype($indexes))
/lib/Root.php633
"No mime associations found in file: {$mimeFile}"
/lib/Root.php669
"Failed loading mime associations from file {$mimeFile}"
/lib/Root.php664
'Default charset expects a non-empty string'
/lib/Root.php700
'Default mime type expects a non-empty string'
/lib/Root.php690
"Cannot alter options after initialization"
/lib/Options.php92
"Aggressive cache multiplier expects a float < 1; {$multiplier} specified"
/lib/Root.php716
"Invalid websocket handshake status ({$code}); 101 or 300-599 required"
/lib/Websocket/Handshake.php32
"Cannot write(); entity body content disallowed for Switching Protocols Response"
/lib/Websocket/Handshake.php70
"Cannot flush(); entity body content disallowed for Switching Protocols Response"
/lib/Websocket/Handshake.php86
"Cannot end() with body data; entity body content disallowed for Switching Protocols Response"
/lib/Websocket/Handshake.php101
"$option must be a positive integer greater than 0"
/lib/Websocket/Rfc6455Gateway.php110
"$option must be a boolean value"
/lib/Websocket/Rfc6455Gateway.php116
"Unknown option $option"
/lib/Websocket/Rfc6455Gateway.php120
"Cannot add push Promise; output already started"
/lib/StandardResponse.php279
"Cannot send body data: response output already ended"
/lib/StandardResponse.php222
"Config file at $configFile did not return any hosts"
/lib/Internal/functions.php120
"Config file inclusion failure: $configFile"
/lib/Internal/functions.php100
'AERYS_OPTIONS constant contains "debug" key; "debug" option is read-only and only settable to true via the -d command line option'
/lib/Internal/functions.php135
"Invalid AERYS_OPTIONS constant: expected array, got " gettype(AERYS_OPTIONS)
/lib/Internal/functions.php130
"Failed building Vhost instance"
/lib/Internal/functions.php278
"Failed assigning options from config file"
/lib/Internal/functions.php163
"Cannot set reason phrase; output already started"
/lib/StandardResponse.php49
"Cannot set status code; output already started"
/lib/StandardResponse.php32
"Cannot set header; output already started"
/lib/StandardResponse.php117
"Cannot add header; output already started"
/lib/StandardResponse.php75
"Cannot write: response already sent"
/lib/StandardResponse.php158
"Cannot set header; output already started"
/lib/StandardResponse.php135
"Cannot flush: response output not started"
/lib/StandardResponse.php200
"Cannot flush: response already sent"
/lib/StandardResponse.php194
"Cannot use two different HttpDriver instances on an equivalent address-port pair"
/lib/VhostContainer.php78
"Can setup http drivers only once"
/lib/VhostContainer.php94
"At least one interface must be passed, an empty interfaces array is not allowed"
/lib/Vhost.php53
"Invalid host port: {$port}; must be 0 for unix domain sockets"
/lib/Vhost.php88
"Shutdown timeout size must be greater than or equal to zero"
/lib/Options.php357
"Config path can't be altered at run-time"
/lib/Options.php367
sprintf("Cannot register encrypted host `%s`; unencrypted " "host `%s` registered on conflicting interface `%s`"$new->IsEncrypted( ) ? $new->getName( ) : $old->getName( ), $new->IsEncrypted( ) ? $old->getName( ) : $new->getName( ), "$address:$port")
/lib/VhostContainer.php52
"Cannot use two different HttpDriver instances on an equivalent address-port pair"
/lib/VhostContainer.php71
"Deflate minimum length must be greater than or equal to zero bytes"
/lib/Options.php317
"Deflate buffer size must be greater than zero bytes"
/lib/Options.php327
"Chunk buffer size must be greater than zero bytes"
/lib/Options.php337
"Output buffer size must be greater than zero bytes"
/lib/Options.php347
"Servers must support GET as an allowed HTTP method"
/lib/Options.php282
"Servers must support HEAD as an allowed HTTP method"
/lib/Options.php287
"Cannot enable deflate negotiation: zlib module required"
/lib/Options.php297
"Deflate content types must be a valid regex"
/lib/Options.php307
"IO granularity setting must be greater than zero"
/lib/Options.php256
"Max number of HTTP/2 frames per second setting must be greater than zero"
/lib/Options.php246
1/lib/DebugProcess.php19
1/demo.php6
"Server sockets could not be received from watcher process"
/lib/CommandClient.php118
"Failed spawning worker process"
/lib/WatcherProcess.php483
"Invalid host port: {$port}; integer in the range [1-65535] required"
/lib/Vhost.php93
"Unix domain socket path is not in an existing or reachable directory"
/lib/Vhost.php106
"Unix domain socket path is in a directory without read, write and execute permissions"
/lib/Vhost.php110
"IPv4 or IPv6 address or unix domain socket path required: {$address}"
/lib/Vhost.php119
"There must be no two identical interfaces for a same host"
/lib/Vhost.php125
"Cannot assign crypto settings in host `{$this}`; ext/openssl required"
/lib/Vhost.php248
"TLS certificate path `{$certPath}` could not be read in host `{$this}`"
/lib/Vhost.php256
"`{$certBase}` does not appear to be a valid X.509 certificate in host `{$this}`"
/lib/Vhost.php262
"TLS certificate `{$certBase}` appears to be missing the private key in host " "`{$this}`; encrypted hosts must concatenate their private key into the same " "file with the public key and any intermediate CA certs or use the local_pk option."
/lib/Vhost.php268
"Failed parsing X.509 certificate `{$certBase}` in host `{$this}`"
/lib/Vhost.php276
sprintf('Invalid crypto method type: %s. String or array required'gettype($cryptoMethod))
/lib/Vhost.php338
'Invalid crypto method value: no valid methods found'
/lib/Vhost.php351
sprintf("Failed binding socket on %s: [Err# %s] %s"$address$errno$errstr)
/lib/Server.php251
"Server::STARTING observer initialization failure"
/lib/Server.php263
"Server::STARTED observer initialization failure"
/lib/Server.php288
"Posix extension must be enabled to switch to user '{$user}'!"
/lib/Server.php944
"Switching to user '{$user}' failed, probably because of missing privileges.'"
/lib/Server.php960
"Switching to user '{$user}' failed, because it doesn't exist!"
/lib/Server.php955
sprintf("max_cache_entries requires an integer; %s specified"is_object($value) ? get_class($value) : gettype($value))
/lib/Router.php36
"Connection went away ..."
/lib/CommandClient.php53
"Encountered unexpected Dispatcher code"
/lib/Router.php134
"Unknown Router option: {$key}"
/lib/Router.php45
"Cannot add routes once the server has started"
/lib/Router.php228
__METHOD__ " requires a callable action or Middleware instance"
/lib/Router.php149
__METHOD__ " requires at least one callable route action or middleware at Argument 3"
/lib/Router.php238
__METHOD__ " requires a non-empty string HTTP method at Argument 1"
/lib/Router.php233
"Invalid port number {$port}; must be zero for an unix domain socket"
/lib/Host.php37
"Any return value of " get_class($bootable) . '::boot() must return an instance of Aerys\Middleware and/or be callable'
/lib/Router.php281
"Invalid IP address or unix domain socket path"
/lib/Host.php56
"Invalid port number {$port}; integer in the range 1..65535 required"
/lib/Host.php42
"Impossible to define two HttpDriver instances for one same Host; an instance of " get_class($this->httpDriver) . " has already been defined as driver"
/lib/Host.php109
__METHOD__ " requires a callable action or Bootable or Middleware or HttpDriver instance"
/lib/Host.php99
"Connections per IP maximum must be greater than or equal to one"
/lib/Options.php130
"Maximum number of requests on a connection must be greater than zero. Set it to PHP_INT_MAX to allow an unlimited amount of requests"
/lib/Options.php140
"Debug mode can't be altered at run-time"
/lib/Options.php105
"Max connections setting must be greater than or equal to one"
/lib/Options.php120
"Max input vars must be a positive integer"
/lib/Options.php185
"Max field length must be greater than zero bytes"
/lib/Options.php195
"Keep alive timeout setting must be greater than or equal to one second"
/lib/Options.php149
"Socket backlog size setting must be greater than or equal to 16"
/lib/Options.php171
"Soft stream cap setting must be greater than or equal to zero"
/lib/Options.php226
"Max number of concurrent streams setting must be greater than zero"
/lib/Options.php236
"Max body size setting must be greater than or equal to zero"
/lib/Options.php206
"Max header size setting must be greater than zero"
/lib/Options.php216
\sprintf("Invalid type at key %s of allowed methods array: %s"$key, \is_object($method) ? \get_class($method) : \gettype($method))
/lib/Options.php267
"Invalid empty HTTP method at key {$key} of allowed methods array"
/lib/Options.php276