RandLib 2.0.0
Probability distributions, fitting, and heavy-tail tools for C++20
Loading...
Searching...
No Matches
randlib::fit_error Class Reference

The fit_error class Thrown when a distribution cannot be fitted to a sample; code() tells why. More...

#include <errors.hpp>

Inheritance diagram for randlib::fit_error:
Collaboration diagram for randlib::fit_error:

Public Member Functions

 fit_error (FitErrorCode code, const std::string &what)
 
FitErrorCode code () const noexcept
 

Detailed Description

The fit_error class Thrown when a distribution cannot be fitted to a sample; code() tells why.

Constructor & Destructor Documentation

◆ fit_error()

randlib::fit_error::fit_error ( FitErrorCode  code,
const std::string &  what 
)
inline

Member Function Documentation

◆ code()

FitErrorCode randlib::fit_error::code ( ) const
inlinenoexcept

The documentation for this class was generated from the following file: