mirror of
https://github.com/microsoft/qlib.git
synced 2026-06-06 14:01:28 +08:00
18 lines
438 B
Python
18 lines
438 B
Python
# Copyright (c) Microsoft Corporation.
|
|
# Licensed under the MIT License.
|
|
|
|
# Base exception class
|
|
class QlibException(Exception):
|
|
def __init__(self, message):
|
|
super(QlibException, self).__init__(message)
|
|
|
|
|
|
# Error type for reinitialization when starting an experiment
|
|
class RecorderInitializationError(QlibException):
|
|
pass
|
|
|
|
|
|
# Error type for Recorder when can not load object
|
|
class LoadObjectError(QlibException):
|
|
pass
|