```php title="PHP" getContent(); } catch (KreuzbergException $e) { // The extension throws KreuzbergException with the error message // Error context is available in the exception message echo "Extraction failed: " . $e->getMessage() . "\n"; echo "Error code: " . $e->getCode() . "\n"; } ```