Piwik\Http\

BadRequestException

Exception for an invalid request.

Methods

The class defines the following methods:

__construct()

Signature

  • It accepts the following parameter(s):
    • $message (string) — The error message.
    • $code (int) — The HTTP status code to respond with.