This is the list of error messages, as found in die() and exit() expressions.
| Message | File | Line |
|---|---|---|
| 0 | /lib/BodyParser.php | 87 |
| "" | /lib/BodyParser.php | 87 |
| "wooooooooo!" | /demo.php | 37 |
| "Cannot boot websocket handler; Aerys\\Websocket required, {$type} provided" | /lib/functions.php | 45 |
| "Invalid redirect URI" | /lib/functions.php | 104 |
| "Invalid redirect URI; \"http\" or \"https\" scheme required" | /lib/functions.php | 107 |
| "Invalid redirect URI; Host redirect must not contain a query or fragment component" | /lib/functions.php | 110 |
| "Invalid redirect code; code in the range 300..399 required" | /lib/functions.php | 116 |
| "Filter error" | /lib/functions.php | 328 |
| "Failed initializing deflate context" | /lib/functions.php | 446 |
| "Failed adding data to deflate context" | /lib/functions.php | 470 |
| "Failed adding data to deflate context" | /lib/functions.php | 479 |
| "Failed adding data to deflate context" | /lib/functions.php | 488 |
| "Any return value of " . get_class($bootable) . '::boot() must return an instance of Aerys\Middleware and/or be callable, got ' . gettype($booted) . "." | /lib/functions.php | 562 |
| "Expected an array of Hosts as second parameter, but array also contains " . (is_object($host) ? "instance of " . get_class($host) : gettype($host)) | /lib/functions.php | 545 |
| "A process may only be started once" | /lib/Process.php | 34 |
| "No config file found, specify one via the -c switch on command line" | /lib/functions.php | 583 |
| sprintf("Failed binding socket on %s: [Err# %s] %s", $address, $errno, $errstr) | /lib/WatcherProcess.php | 236 |
| "Aerys is already running, can't start it again" | /lib/WatcherProcess.php | 144 |
| "Unknown root option: {$option}" | /lib/Root.php | 624 |
| "Document root requires a readable directory" | /lib/Root.php | 49 |
| sprintf("Array of string index filenames required: %s provided", gettype($index)) | /lib/Root.php | 640 |
| sprintf("Array or string required for root index names: %s provided", gettype($indexes)) | /lib/Root.php | 633 |
| "No mime associations found in file: {$mimeFile}" | /lib/Root.php | 669 |
| "Failed loading mime associations from file {$mimeFile}" | /lib/Root.php | 664 |
| 'Default charset expects a non-empty string' | /lib/Root.php | 700 |
| 'Default mime type expects a non-empty string' | /lib/Root.php | 690 |
| "Cannot alter options after initialization" | /lib/Options.php | 92 |
| "Aggressive cache multiplier expects a float < 1; {$multiplier} specified" | /lib/Root.php | 716 |
| "Invalid websocket handshake status ({$code}); 101 or 300-599 required" | /lib/Websocket/Handshake.php | 32 |
| "Cannot write(); entity body content disallowed for Switching Protocols Response" | /lib/Websocket/Handshake.php | 70 |
| "Cannot flush(); entity body content disallowed for Switching Protocols Response" | /lib/Websocket/Handshake.php | 86 |
| "Cannot end() with body data; entity body content disallowed for Switching Protocols Response" | /lib/Websocket/Handshake.php | 101 |
| "$option must be a positive integer greater than 0" | /lib/Websocket/Rfc6455Gateway.php | 110 |
| "$option must be a boolean value" | /lib/Websocket/Rfc6455Gateway.php | 116 |
| "Unknown option $option" | /lib/Websocket/Rfc6455Gateway.php | 120 |
| "Cannot add push Promise; output already started" | /lib/StandardResponse.php | 279 |
| "Cannot send body data: response output already ended" | /lib/StandardResponse.php | 222 |
| "Config file at $configFile did not return any hosts" | /lib/Internal/functions.php | 120 |
| "Config file inclusion failure: $configFile" | /lib/Internal/functions.php | 100 |
| '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.php | 135 |
| "Invalid AERYS_OPTIONS constant: expected array, got " . gettype(AERYS_OPTIONS) | /lib/Internal/functions.php | 130 |
| "Failed building Vhost instance" | /lib/Internal/functions.php | 278 |
| "Failed assigning options from config file" | /lib/Internal/functions.php | 163 |
| "Cannot set reason phrase; output already started" | /lib/StandardResponse.php | 49 |
| "Cannot set status code; output already started" | /lib/StandardResponse.php | 32 |
| "Cannot set header; output already started" | /lib/StandardResponse.php | 117 |
| "Cannot add header; output already started" | /lib/StandardResponse.php | 75 |
| "Cannot write: response already sent" | /lib/StandardResponse.php | 158 |
| "Cannot set header; output already started" | /lib/StandardResponse.php | 135 |
| "Cannot flush: response output not started" | /lib/StandardResponse.php | 200 |
| "Cannot flush: response already sent" | /lib/StandardResponse.php | 194 |
| "Cannot use two different HttpDriver instances on an equivalent address-port pair" | /lib/VhostContainer.php | 78 |
| "Can setup http drivers only once" | /lib/VhostContainer.php | 94 |
| "At least one interface must be passed, an empty interfaces array is not allowed" | /lib/Vhost.php | 53 |
| "Invalid host port: {$port}; must be 0 for unix domain sockets" | /lib/Vhost.php | 88 |
| "Shutdown timeout size must be greater than or equal to zero" | /lib/Options.php | 357 |
| "Config path can't be altered at run-time" | /lib/Options.php | 367 |
| 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.php | 52 |
| "Cannot use two different HttpDriver instances on an equivalent address-port pair" | /lib/VhostContainer.php | 71 |
| "Deflate minimum length must be greater than or equal to zero bytes" | /lib/Options.php | 317 |
| "Deflate buffer size must be greater than zero bytes" | /lib/Options.php | 327 |
| "Chunk buffer size must be greater than zero bytes" | /lib/Options.php | 337 |
| "Output buffer size must be greater than zero bytes" | /lib/Options.php | 347 |
| "Servers must support GET as an allowed HTTP method" | /lib/Options.php | 282 |
| "Servers must support HEAD as an allowed HTTP method" | /lib/Options.php | 287 |
| "Cannot enable deflate negotiation: zlib module required" | /lib/Options.php | 297 |
| "Deflate content types must be a valid regex" | /lib/Options.php | 307 |
| "IO granularity setting must be greater than zero" | /lib/Options.php | 256 |
| "Max number of HTTP/2 frames per second setting must be greater than zero" | /lib/Options.php | 246 |
| 1 | /lib/DebugProcess.php | 19 |
| 1 | /demo.php | 6 |
| "Server sockets could not be received from watcher process" | /lib/CommandClient.php | 118 |
| "Failed spawning worker process" | /lib/WatcherProcess.php | 483 |
| "Invalid host port: {$port}; integer in the range [1-65535] required" | /lib/Vhost.php | 93 |
| "Unix domain socket path is not in an existing or reachable directory" | /lib/Vhost.php | 106 |
| "Unix domain socket path is in a directory without read, write and execute permissions" | /lib/Vhost.php | 110 |
| "IPv4 or IPv6 address or unix domain socket path required: {$address}" | /lib/Vhost.php | 119 |
| "There must be no two identical interfaces for a same host" | /lib/Vhost.php | 125 |
| "Cannot assign crypto settings in host `{$this}`; ext/openssl required" | /lib/Vhost.php | 248 |
| "TLS certificate path `{$certPath}` could not be read in host `{$this}`" | /lib/Vhost.php | 256 |
| "`{$certBase}` does not appear to be a valid X.509 certificate in host `{$this}`" | /lib/Vhost.php | 262 |
| "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.php | 268 |
| "Failed parsing X.509 certificate `{$certBase}` in host `{$this}`" | /lib/Vhost.php | 276 |
| sprintf('Invalid crypto method type: %s. String or array required', gettype($cryptoMethod)) | /lib/Vhost.php | 338 |
| 'Invalid crypto method value: no valid methods found' | /lib/Vhost.php | 351 |
| sprintf("Failed binding socket on %s: [Err# %s] %s", $address, $errno, $errstr) | /lib/Server.php | 251 |
| "Server::STARTING observer initialization failure" | /lib/Server.php | 263 |
| "Server::STARTED observer initialization failure" | /lib/Server.php | 288 |
| "Posix extension must be enabled to switch to user '{$user}'!" | /lib/Server.php | 944 |
| "Switching to user '{$user}' failed, probably because of missing privileges.'" | /lib/Server.php | 960 |
| "Switching to user '{$user}' failed, because it doesn't exist!" | /lib/Server.php | 955 |
| sprintf("max_cache_entries requires an integer; %s specified", is_object($value) ? get_class($value) : gettype($value)) | /lib/Router.php | 36 |
| "Connection went away ..." | /lib/CommandClient.php | 53 |
| "Encountered unexpected Dispatcher code" | /lib/Router.php | 134 |
| "Unknown Router option: {$key}" | /lib/Router.php | 45 |
| "Cannot add routes once the server has started" | /lib/Router.php | 228 |
| __METHOD__ . " requires a callable action or Middleware instance" | /lib/Router.php | 149 |
| __METHOD__ . " requires at least one callable route action or middleware at Argument 3" | /lib/Router.php | 238 |
| __METHOD__ . " requires a non-empty string HTTP method at Argument 1" | /lib/Router.php | 233 |
| "Invalid port number {$port}; must be zero for an unix domain socket" | /lib/Host.php | 37 |
| "Any return value of " . get_class($bootable) . '::boot() must return an instance of Aerys\Middleware and/or be callable' | /lib/Router.php | 281 |
| "Invalid IP address or unix domain socket path" | /lib/Host.php | 56 |
| "Invalid port number {$port}; integer in the range 1..65535 required" | /lib/Host.php | 42 |
| "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.php | 109 |
| __METHOD__ . " requires a callable action or Bootable or Middleware or HttpDriver instance" | /lib/Host.php | 99 |
| "Connections per IP maximum must be greater than or equal to one" | /lib/Options.php | 130 |
| "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.php | 140 |
| "Debug mode can't be altered at run-time" | /lib/Options.php | 105 |
| "Max connections setting must be greater than or equal to one" | /lib/Options.php | 120 |
| "Max input vars must be a positive integer" | /lib/Options.php | 185 |
| "Max field length must be greater than zero bytes" | /lib/Options.php | 195 |
| "Keep alive timeout setting must be greater than or equal to one second" | /lib/Options.php | 149 |
| "Socket backlog size setting must be greater than or equal to 16" | /lib/Options.php | 171 |
| "Soft stream cap setting must be greater than or equal to zero" | /lib/Options.php | 226 |
| "Max number of concurrent streams setting must be greater than zero" | /lib/Options.php | 236 |
| "Max body size setting must be greater than or equal to zero" | /lib/Options.php | 206 |
| "Max header size setting must be greater than zero" | /lib/Options.php | 216 |
| \sprintf("Invalid type at key %s of allowed methods array: %s", $key, \is_object($method) ? \get_class($method) : \gettype($method)) | /lib/Options.php | 267 |
| "Invalid empty HTTP method at key {$key} of allowed methods array" | /lib/Options.php | 276 |