![]() |
Ginkgo
Generated from pipelines/2837190956 branch based on develop. Ginkgo version 2.0.0
A numerical linear algebra library targeting many-core architectures
|
InvalidData is thrown in case an object in Ginkgo contains invalid data, either because the data was user-provided, or because of a bug. More...
#include <ginkgo/core/base/exception.hpp>
Public Member Functions | |
| InvalidData (const std::string &file, int line, const std::type_info &type, const std::string &invariant) | |
| Initializes an InvalidData error. More... | |
Public Member Functions inherited from gko::Error | |
| Error (const std::string &file, int line, const std::string &what) | |
| Initializes an error. More... | |
InvalidData is thrown in case an object in Ginkgo contains invalid data, either because the data was user-provided, or because of a bug.
Invalid data is described by the invariant it violated.
|
inline |
Initializes an InvalidData error.
| file | The name of the source file containing the check |
| line | The source code line number where the check failed |
| type | The object type on which the requested operation failed. |
| invariant | The invariant that was violated by the invalid data. |
1.8.16