Expanded class hierarchy of CacheableAccessDeniedHttpException in Drupal 10
- class \Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException extends \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException implements CacheableDependencyInterface uses CacheableDependencyTrait
- class \Drupal\jsonapi\Exception\EntityAccessDeniedHttpException implements ResourceIdentifierInterface uses DependencySerializationTrait, ResourceIdentifierTrait