Internal exception that is raised if Werkzeug detects a disconnected client. Since the client is already gone at that point attempting to send the error message to the client might not work and might ultimately result in another exception in the server. Mainly this is here so that
| 232 | |
| 233 | |
| 234 | class ClientDisconnected(BadRequest): |
| 235 | """Internal exception that is raised if Werkzeug detects a disconnected |
| 236 | client. Since the client is already gone at that point attempting to |
| 237 | send the error message to the client might not work and might ultimately |
| 238 | result in another exception in the server. Mainly this is here so that |
| 239 | it is silenced by default as far as Werkzeug is concerned. |
| 240 | |
| 241 | Since disconnections cannot be reliably detected and are unspecified |
| 242 | by WSGI to a large extent this might or might not be raised if a client |
| 243 | is gone. |
| 244 | |
| 245 | .. versionadded:: 0.8 |
| 246 | """ |
| 247 | |
| 248 | |
| 249 | class SecurityError(BadRequest): |