# LogicException

Thrown for invalid requests that can't work out

****

- Full class name: `Kirby\Exception\LogicException`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Exception/LogicException.php#L14>

****

### LogicException

- [new LogicException()](https://getkirby.com/docs/reference/objects/exception/logic-exception/__construct.md)
- [$logicException->__toString()](https://getkirby.com/docs/reference/objects/exception/logic-exception/__to-string.md)
- [$logicException->__wakeup()](https://getkirby.com/docs/reference/objects/exception/logic-exception/__wakeup.md)
- [$logicException->getCode()](https://getkirby.com/docs/reference/objects/exception/logic-exception/get-code.md)
- [$logicException->getData()](https://getkirby.com/docs/reference/objects/exception/logic-exception/get-data.md)
- [$logicException->getDetails()](https://getkirby.com/docs/reference/objects/exception/logic-exception/get-details.md)
- [$logicException->getFile()](https://getkirby.com/docs/reference/objects/exception/logic-exception/get-file.md)
- [$logicException->getFileRelative()](https://getkirby.com/docs/reference/objects/exception/logic-exception/get-file-relative.md)
- [$logicException->getHttpCode()](https://getkirby.com/docs/reference/objects/exception/logic-exception/get-http-code.md)
- [$logicException->getKey()](https://getkirby.com/docs/reference/objects/exception/logic-exception/get-key.md)
- [$logicException->getLine()](https://getkirby.com/docs/reference/objects/exception/logic-exception/get-line.md)
- [$logicException->getMessage()](https://getkirby.com/docs/reference/objects/exception/logic-exception/get-message.md)
- [$logicException->getPrevious()](https://getkirby.com/docs/reference/objects/exception/logic-exception/get-previous.md)
- [$logicException->getTrace()](https://getkirby.com/docs/reference/objects/exception/logic-exception/get-trace.md)
- [$logicException->getTraceAsString()](https://getkirby.com/docs/reference/objects/exception/logic-exception/get-trace-as-string.md)
- [$logicException->isTranslated()](https://getkirby.com/docs/reference/objects/exception/logic-exception/is-translated.md)
- [$logicException->toArray()](https://getkirby.com/docs/reference/objects/exception/logic-exception/to-array.md)