mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-25 21:36:52 +08:00
13 lines
441 B
Python
13 lines
441 B
Python
"""Custom exceptions for Windows-specific runtime issues."""
|
|
|
|
|
|
class DotNetMissingError(Exception):
|
|
"""Exception raised when .NET SDK or CoreCLR is missing or cannot be loaded.
|
|
This is used to provide a cleaner error message to users without a full stack trace.
|
|
"""
|
|
|
|
def __init__(self, message: str, details: str | None = None):
|
|
self.message = message
|
|
self.details = details
|
|
super().__init__(message)
|