Class StorageInternalError
- Namespace
- OptunaSharp
- Assembly
- OptunaSharp.dll
Exception for storage operation.
This error is raised when an operation failed in backend DB of storage.
public class StorageInternalError : OptunaError, ISerializable
- Inheritance
-
StorageInternalError
- Implements
- Inherited Members
Constructors
StorageInternalError()
Creates a StorageInternalError carrying the supplied failure details, if any.
public StorageInternalError()
StorageInternalError(string)
Creates a StorageInternalError carrying the supplied failure details, if any.
public StorageInternalError(string message)
Parameters
messagestringError message explaining the failure.
StorageInternalError(string, Exception)
Creates a StorageInternalError that wraps the database error behind it, as Optuna's
raise StorageInternalError(message) from e chains the SQLAlchemy error: the message is Optuna's, the
provider's detail stays reachable through InnerException.
public StorageInternalError(string message, Exception innerException)