Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6943 from bashtage/document-warnings-exceptions
DOC: Document exceptions and warnings
- Loading branch information
Showing
15 changed files
with
448 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
======================= | ||
Exceptions and Warnings | ||
======================= | ||
|
||
Exceptions | ||
---------- | ||
|
||
Errors derive from Exception or another custom error. Custom errors are | ||
only needed if standard errors, for example ValueError or TypeError, are not | ||
accurate descriptions of the cause for the error. | ||
|
||
.. module:: statsmodels.tools.sm_exceptions | ||
:synopsis: Exceptions and Warnings | ||
|
||
.. currentmodule:: statsmodels.tools.sm_exceptions | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
|
||
ParseError | ||
PerfectSeparationError | ||
X13NotFoundError | ||
X13Error | ||
|
||
Warnings | ||
-------- | ||
|
||
Warnings derive from either an existing warning or another custom | ||
warning, and are often accompanied by a string using the format | ||
``warning_name_doc`` that services as a generic message to use when the | ||
warning is raised. | ||
|
||
|
||
.. currentmodule:: statsmodels.tools.sm_exceptions | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
|
||
X13Warning | ||
IOWarning | ||
ModuleUnavailableWarning | ||
ModelWarning | ||
ConvergenceWarning | ||
CacheWriteWarning | ||
IterationLimitWarning | ||
InvalidTestWarning | ||
NotImplementedWarning | ||
OutputWarning | ||
DomainWarning | ||
ValueWarning | ||
EstimationWarning | ||
SingularMatrixWarning | ||
HypothesisTestWarning | ||
InterpolationWarning | ||
PrecisionWarning | ||
SpecificationWarning | ||
HessianInversionWarning | ||
CollinearityWarning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.