-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add replication metric computation in MimicExplainer (#364)
* Add replication metric computation in MimicExplainer Signed-off-by: Gaurav Gupta <[email protected]> * Addressed code review comments Signed-off-by: Gaurav Gupta <[email protected]>
- Loading branch information
Showing
3 changed files
with
89 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# --------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# --------------------------------------------------------- | ||
|
||
"""Defines different types of exceptions that this package can raise.""" | ||
|
||
|
||
class ScenarioNotSupportedException(Exception): | ||
"""An exception indicating that some scenario is not supported. | ||
:param exception_message: A message describing the error. | ||
:type exception_message: str | ||
""" | ||
|
||
_error_code = "Unsupported scenario" |
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