Only HttpExceptionInterface contains a ```getStatusCode``` method