{"id":19218773,"url":"https://github.com/fadilxcoder/exceptions","last_synced_at":"2026-03-02T10:03:05.707Z","repository":{"id":86245296,"uuid":"433654481","full_name":"fadilxcoder/exceptions","owner":"fadilxcoder","description":"PHP / Symfony Exceptions","archived":false,"fork":false,"pushed_at":"2021-12-01T19:00:05.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T09:14:51.201Z","etag":null,"topics":["notes"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fadilxcoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-01T02:20:37.000Z","updated_at":"2022-07-06T19:19:32.000Z","dependencies_parsed_at":"2023-03-08T10:00:33.431Z","dependency_job_id":null,"html_url":"https://github.com/fadilxcoder/exceptions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fadilxcoder/exceptions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fexceptions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fexceptions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fexceptions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fexceptions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fadilxcoder","download_url":"https://codeload.github.com/fadilxcoder/exceptions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Fexceptions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29998085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["notes"],"created_at":"2024-11-09T14:28:02.659Z","updated_at":"2026-03-02T10:03:05.665Z","avatar_url":"https://github.com/fadilxcoder.png","language":"HTML","readme":"# PHP / SYMFONY Exceptions\n\n## Docs\n\n- https://gist.github.com/feyyazesat/c65ccfde12839c03c610 (Symfony Exception List)\n- https://www.strangebuzz.com/en/blog/the-php-exceptions-cheatsheet (The PHP exceptions' cheat sheet )\n- https://docs.w3cub.com/symfony~4.1/symfony/component/security/core/exception/accessdeniedexception (Exception details)\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/index.html (Symfony classes namespaces)\n\n## Notes\n\n- As of PHP 7, errors and exceptions extend the Throwable class\n\n```\n{\n    Throwable: {\n        Error: {\n            ArithmeticError: [\n                \"DivisionByZeroError\"\n            ],\n            AssertionError: [],\n            CompileError: [\n                \"ParseError\"\n            ],\n            TypeError: [\n                \"ArgumentCountError\"\n            ]\n        },\n        Exception: {\n            ClosedGeneratorException: [],\n            DOMException: [],\n            ErrorException: [],\n            IntlException: [],\n            JsonException: [],\n            LogicException: {\n                BadFunctionCallException: [\n                    \"BadMethodCallException\"\n                ],\n                DomainException: [],\n                InvalidArgumentException: [],\n                LengthException: [],\n                OutOfRangeException: []\n            },\n            PharException: [],\n            ReflectionException: [],\n            RuntimeException: [\n                \"OutOfBoundsException\",\n                \"OverflowException\",\n                \"PDOException\",\n                \"RangeException\",\n                \"UnderflowException\",\n                \"UnexpectedValueException\"\n            ],\n            SoapFault: [],\n            SodiumException: []\n        }\n    }\n}\n```\n\n- **\\Throwable** - Throwable is the base interface for any object that can be thrown via a throw statement, including Error and Exception.\n\u003cbr\u003e\n\n- **\\Error** - Error is the base class for all internal PHP errors.\n\u003cbr\u003e\n\n- **\\ArithmeticError** - Thrown when an error occurs while performing mathematical operations.\n\u003cbr\u003e\n\n- **\\DivisionByZeroError** - Thrown when an attempt is made to divide a number by zero.\n\u003cbr\u003e\n\n- **\\AssertionError** - Thrown when an assertion made via assert() fails.\n\u003cbr\u003e\n\n- **\\CompileError** - Thrown for some compilation errors, which formerly issued a fatal error.\n\u003cbr\u003e\n\n- **\\TypeError** \n    - The value being set for a class property does not match the property's corresponding declared type.\n    - The argument type being passed to a function does not match its corresponding declared parameter type.\n    - A value being returned from a function does not match the declared function return type.\n\u003cbr\u003e\n\n- **\\Exception** - Exception is the base class for all user exceptions.\n\u003cbr\u003e\n\n- **\\ClosedGeneratorException** - occurs when attempting to perform a traversal on a generator that has already been closed or terminated.\n\u003cbr\u003e\n\n- **\\DOMException** - DOM operations raise exceptions under particular circumstances, i.e., when an operation is impossible to perform for logical reasons.\n\u003cbr\u003e\n\n- **\\ErrorException** - ErrorException is mostly used to convert php error (raised by error_reporting) to Exception.\n\u003cbr\u003e\n\n- **\\IntlException** - This class is used for generating exceptions when errors occur inside intl functions. Such exceptions are only generated when intl.use_exceptions is enabled.\n\u003cbr\u003e\n\n\n- **\\JsonException** - Exception thrown if JSON_THROW_ON_ERROR option is set for json_encode() or json_decode(). code contains the error type, for possible values see json_last_error().\n\u003cbr\u003e\n\n\n- **\\LogicException** - Exception that represents error in the program logic. This kind of exception should lead directly to a fix in your code.\n\u003cbr\u003e\n\n- **\\BadFunctionCallException** - Exception thrown if a callback refers to an undefined function or if some arguments are missing.\n\u003cbr\u003e\n\n- **\\BadMethodCallException** - Exception thrown if a callback refers to an undefined method or if some arguments are missing.\n\u003cbr\u003e\n\n- **\\DomainException** - Exception thrown if a value does not adhere to a defined valid data domain.\n\u003cbr\u003e\n\n- **\\InvalidArgumentException** - Exception thrown if an argument is not of the expected type.\n\u003cbr\u003e\n\n- **\\LengthException** - Exception thrown if a length is invalid.\n\u003cbr\u003e\n\n- **\\OutOfRangeException** - Exception thrown when an illegal index was requested. This represents errors that should be detected at compile time.\n\u003cbr\u003e\n\n- **\\PharException** - The PharException class provides a phar-specific exception class for try/catch blocks.\n\u003cbr\u003e\n\n- **\\ReflectionException** - The ReflectionException class.\n\u003cbr\u003e\n\n- **\\RuntimeException** - Exception thrown if an error which can only be found on runtime occurs.\n\u003cbr\u003e\n\n- **\\OutOfBoundsException** - Exception thrown if a value is not a valid key. This represents errors that cannot be detected at compile time.\n\u003cbr\u003e\n\n- **\\OverflowException** - Exception thrown when adding an element to a full container.\n\u003cbr\u003e\n\n- **\\PDOException** - Represents an error raised by PDO. You should not throw a PDOException from your own code. See Exceptions for more information about Exceptions in PHP.\n\u003cbr\u003e\n\n- **\\RangeException** - Exception thrown to indicate range errors during program execution. Normally this means there was an arithmetic error other than under/overflow. This is the runtime version of DomainException.\n\u003cbr\u003e\n\n- **\\UnderflowException** - Exception thrown when performing an invalid operation on an empty container, such as removing an element.\n\u003cbr\u003e\n\n- **\\UnexpectedValueException** - Exception thrown if a value does not match with a set of values. Typically this happens when a function calls another function and expects the return value to be of a certain type or value not including arithmetic or buffer related errors.\n\u003cbr\u003e\n\n- **\\SoapFault** - \tThis class is used to send SOAP fault responses from the PHP handler. faultcode, faultstring, faultactor and detail are standard elements of a SOAP Fault.\n\u003cbr\u003e\n\n- **\\SodiumException** - Exceptions thrown by the sodium functions.\n\u003cbr\u003e\n\n---\n\n### Symfony\n\n- **MissingOptionsException** - Exception thrown when a required option is missing.\n- **InvalidOptionsException** - Thrown when the value of an option does not match its validation rules.\n- **MethodNotAllowedHttpException**\n- **NotFoundHttpException**\n- **HttpException**\n- **AccessDeniedHttpException**\n\n---\n\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/OptionsResolver/Exception.html\n```\nSymfony/Component/OptionsResolver/Exception/MissingOptionsException.php\nSymfony/Component/OptionsResolver/Exception/OptionDefinitionException.php\nSymfony/Component/OptionsResolver/Exception/InvalidOptionsException.php\n```\n\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/Serializer/Exception.html\n```\nSymfony/Component/Serializer/Exception/InvalidArgumentException.php\nSymfony/Component/Serializer/Exception/UnsupportedException.php\nSymfony/Component/Serializer/Exception/UnexpectedValueException.php\nSymfony/Component/Serializer/Exception/LogicException.php\nSymfony/Component/Serializer/Exception/Exception.php\nSymfony/Component/Serializer/Exception/RuntimeException.php\n```\n\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/HttpKernel/Exception.html\n```\nSymfony/Component/HttpKernel/Exception/MethodNotAllowedHttpException.php\nSymfony/Component/HttpKernel/Exception/NotFoundHttpException.php\nSymfony/Component/HttpKernel/Exception/HttpException.php\nSymfony/Component/HttpKernel/Exception/AccessDeniedHttpException.php\nSymfony/Component/HttpKernel/Exception/FlattenException.php\n```\n\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/Form/Exception.html\n```\nSymfony/Component/Form/Exception/InvalidConfigurationException.php\nSymfony/Component/Form/Exception/TransformationFailedException.php\nSymfony/Component/Form/Exception/PropertyAccessDeniedException.php\nSymfony/Component/Form/Exception/TypeLoaderException.php\nSymfony/Component/Form/Exception/NotInitializedException.php\nSymfony/Component/Form/Exception/NotValidException.php\nSymfony/Component/Form/Exception/AlreadyBoundException.php\nSymfony/Component/Form/Exception/InvalidPropertyPathException.php\nSymfony/Component/Form/Exception/CreationException.php\nSymfony/Component/Form/Exception/StringCastException.php\nSymfony/Component/Form/Exception/FormException.php\nSymfony/Component/Form/Exception/TypeDefinitionException.php\nSymfony/Component/Form/Exception/UnexpectedTypeException.php\nSymfony/Component/Form/Exception/ErrorMappingException.php\nSymfony/Component/Form/Exception/InvalidPropertyException.php\n```\n\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/Process/Exception.html\n```\nSymfony/Component/Process/Exception/ProcessFailedException.php\nSymfony/Component/Process/Exception/RuntimeException.php\n```\n\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/Yaml/Exception.html\n```\nSymfony/Component/Yaml/Exception/DumpException.php\nSymfony/Component/Yaml/Exception/ParseException.php\n```\n\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/Filesystem/Exception.html\n```\nSymfony/Component/Filesystem/Exception/IOException.php\n```\n\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/HttpFoundation/File/Exception.html\n```\nSymfony/Component/HttpFoundation/File/Exception/AccessDeniedException.php\nSymfony/Component/HttpFoundation/File/Exception/FileNotFoundException.php\nSymfony/Component/HttpFoundation/File/Exception/UnexpectedTypeException.php\nSymfony/Component/HttpFoundation/File/Exception/UploadException.php\nSymfony/Component/HttpFoundation/File/Exception/FileException.php\n```\n\n-http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/DependencyInjection/Exception.html\n```\nSymfony/Component/DependencyInjection/Exception/InvalidArgumentException.php\nSymfony/Component/DependencyInjection/Exception/ParameterNotFoundException.php\nSymfony/Component/DependencyInjection/Exception/LogicException.php\nSymfony/Component/DependencyInjection/Exception/OutOfBoundsException.php\nSymfony/Component/DependencyInjection/Exception/BadMethodCallException.php\nSymfony/Component/DependencyInjection/Exception/ServiceNotFoundException.php\nSymfony/Component/DependencyInjection/Exception/RuntimeException.php\nSymfony/Component/DependencyInjection/Exception/ServiceCircularReferenceException.php\nSymfony/Component/DependencyInjection/Exception/InactiveScopeException.php\nSymfony/Component/DependencyInjection/Exception/ParameterCircularReferenceException.php\nSymfony/Component/DependencyInjection/Exception/ScopeCrossingInjectionException.php\nSymfony/Component/DependencyInjection/Exception/ScopeWideningInjectionException.php\n```\n\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/Config/Exception.html\n```\nSymfony/Component/Config/Exception/FileLoaderImportCircularReferenceException.php\nSymfony/Component/Config/Exception/FileLoaderLoadException.php\n```\n\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/Config/Definition/Exception.html\n```\nSymfony/Component/Config/Definition/Exception/InvalidConfigurationException.php\nSymfony/Component/Config/Definition/Exception/ForbiddenOverwriteException.php\nSymfony/Component/Config/Definition/Exception/UnsetKeyException.php\nSymfony/Component/Config/Definition/Exception/Exception.php\nSymfony/Component/Config/Definition/Exception/InvalidDefinitionException.php\nSymfony/Component/Config/Definition/Exception/InvalidTypeException.php\nSymfony/Component/Config/Definition/Exception/DuplicateKeyException.php\n```\n\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/Routing/Exception.html\n```\nSymfony/Component/Routing/Exception/InvalidParameterException.php\nSymfony/Component/Routing/Exception/ResourceNotFoundException.php\nSymfony/Component/Routing/Exception/MissingMandatoryParametersException.php\nSymfony/Component/Routing/Exception/RouteNotFoundException.php\nSymfony/Component/Routing/Exception/MethodNotAllowedException.php\n```\n\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/Validator/Exception.html\n```\nSymfony/Component/Validator/Exception/MappingException.php\nSymfony/Component/Validator/Exception/MissingOptionsException.php\nSymfony/Component/Validator/Exception/GroupDefinitionException.php\nSymfony/Component/Validator/Exception/ConstraintDefinitionException.php\nSymfony/Component/Validator/Exception/UnexpectedTypeException.php\nSymfony/Component/Validator/Exception/InvalidOptionsException.php\nSymfony/Component/Validator/Exception/ValidatorException.php\n```\n\n```\nSymfony/Component/Locale/Exception/MethodArgumentValueNotImplementedException.php\nSymfony/Component/Locale/Exception/MethodArgumentNotImplementedException.php\nSymfony/Component/Locale/Exception/MethodNotImplementedException.php\nSymfony/Component/Locale/Exception/NotImplementedException.php\n```\n\n-http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/CssSelector/Exception.html\n```\nSymfony/Component/CssSelector/Exception/ParseException.php\n```\n\n- http://man.hubwiz.com/docset/Symfony.docset/Contents/Resources/Documents/packagist_docset/Symfony/Component/Security/Core/Exception.html\n```\nSymfony/Component/Security/Core/Exception/SessionUnavailableException.php\nSymfony/Component/Security/Core/Exception/AuthenticationException.php\nSymfony/Component/Security/Core/Exception/UnsupportedUserException.php\nSymfony/Component/Security/Core/Exception/AccessDeniedException.php\nSymfony/Component/Security/Core/Exception/CredentialsExpiredException.php\nSymfony/Component/Security/Core/Exception/UsernameNotFoundException.php\nSymfony/Component/Security/Core/Exception/LogoutException.php\nSymfony/Component/Security/Core/Exception/CookieTheftException.php\nSymfony/Component/Security/Core/Exception/InsufficientAuthenticationException.php\nSymfony/Component/Security/Core/Exception/DisabledException.php\nSymfony/Component/Security/Core/Exception/InvalidCsrfTokenException.php\nSymfony/Component/Security/Core/Exception/LockedException.php\nSymfony/Component/Security/Core/Exception/AuthenticationServiceException.php\nSymfony/Component/Security/Core/Exception/AuthenticationCredentialsNotFoundException.php\nSymfony/Component/Security/Core/Exception/TokenNotFoundException.php\nSymfony/Component/Security/Core/Exception/AccountExpiredException.php\nSymfony/Component/Security/Core/Exception/NonceExpiredException.php\nSymfony/Component/Security/Core/Exception/AccountStatusException.php\nSymfony/Component/Security/Core/Exception/ProviderNotFoundException.php\nSymfony/Component/Security/Core/Exception/BadCredentialsException.php\n```\n```\nSymfony/Component/Security/Acl/Exception/SidNotLoadedException.php\nSymfony/Component/Security/Acl/Exception/AclNotFoundException.php\nSymfony/Component/Security/Acl/Exception/NotAllAclsFoundException.php\nSymfony/Component/Security/Acl/Exception/InvalidDomainObjectException.php\nSymfony/Component/Security/Acl/Exception/NoAceFoundException.php\nSymfony/Component/Security/Acl/Exception/Exception.php\nSymfony/Component/Security/Acl/Exception/ConcurrentModificationException.php\nSymfony/Component/Security/Acl/Exception/AclAlreadyExistsException.php\n```\n- Doctrine\n\n```\nDoctrine/Common/DataFixtures/Exception/CircularReferenceException.php\nDoctrine/Common/Annotations/AnnotationException.php\nDoctrine/Common/CommonException.php\nDoctrine/Common/Persistence/Mapping/MappingException.php\n---------------------------------------------------------------------------------------------\n\nDoctrine/ORM/TransactionRequiredException.php\nDoctrine/ORM/Query/QueryException.php\nDoctrine/ORM/Query/AST/ASTException.php\nDoctrine/ORM/Mapping/MappingException.php\nDoctrine/ORM/UnexpectedResultException.php\nDoctrine/ORM/PessimisticLockException.php\nDoctrine/ORM/OptimisticLockException.php\nDoctrine/ORM/Internal/Hydration/HydrationException.php\nDoctrine/ORM/ORMException.php\nDoctrine/ORM/NonUniqueResultException.php\nDoctrine/ORM/EntityNotFoundException.php\nDoctrine/ORM/Tools/ToolsException.php\nDoctrine/ORM/Tools/Export/ExportException.php\nDoctrine/ORM/Proxy/ProxyException.php\nDoctrine/ORM/NoResultException.php\nDoctrine/ORM/ORMInvalidArgumentException.php\n---------------------------------------------------------------------------------------------\n\nDoctrine/DBAL/Query/QueryException.php\nDoctrine/DBAL/Types/ConversionException.php\nDoctrine/DBAL/Schema/SchemaException.php\nDoctrine/DBAL/Sharding/ShardingException.php\nDoctrine/DBAL/ConnectionException.php\nDoctrine/DBAL/Cache/CacheException.php\nDoctrine/DBAL/Driver/OCI8/OCI8Exception.php\nDoctrine/DBAL/Driver/SQLSrv/SQLSrvException.php\nDoctrine/DBAL/Driver/Mysqli/MysqliException.php\nDoctrine/DBAL/Driver/IBMDB2/DB2Exception.php\nDoctrine/DBAL/DBALException.php\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadilxcoder%2Fexceptions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffadilxcoder%2Fexceptions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadilxcoder%2Fexceptions/lists"}