automated terminal push

This commit is contained in:
lenape
2025-06-27 16:06:02 +00:00
parent 511dd3b36b
commit 6a954eb013
4221 changed files with 2916190 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
import textwrap
from enum import Enum
class JSIIError(Exception):
pass
class JavaScriptError(Exception):
def __init__(self, stack):
self.stack = stack
def __str__(self):
return "\n" + textwrap.indent(self.stack, " ", lambda line: bool(line))
class ErrorType(Enum):
JSII_FAULT = "@jsii/kernel.Fault"
RUNTIME_ERROR = "@jsii/kernel.RuntimeError"