diff --git a/src/textual/css/scalar.py b/src/textual/css/scalar.py index 0ef332c571..849f566732 100644 --- a/src/textual/css/scalar.py +++ b/src/textual/css/scalar.py @@ -12,15 +12,15 @@ class ScalarError(Exception): - pass + """Base class for exceptions raised by the Scalar class.""" class ScalarResolveError(ScalarError): - pass + """Raised for errors resolving scalars (unlikely to occur in practice).""" class ScalarParseError(ScalarError): - pass + """Raised when a scalar couldn't be parsed from a string.""" @unique