mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
16 lines
448 B
Python
16 lines
448 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)
|