Automattic\WooCommerce\EmailEditor
NotFoundException{}└─ HttpAwareException, UnexpectedValueException
USE: When the main resource we're interested in doesn't exist. API: 404 Not Found
No Hooks.
Usage
$NotFoundException = new NotFoundException(); // use class methods
Methods
- public getHttpStatusCode()
NotFoundException{} NotFoundException{} code WC 10.4.3
class NotFoundException extends UnexpectedValueException implements HttpAwareException {
public function getHttpStatusCode(): int {
return 404;
}
}