fix: more-or-less readable errors + syntax check on sassy macro

This commit is contained in:
Yiffy Dev 2024-11-02 00:20:10 +05:00 • committed by spushk
commit 6568819310
Signed by: spushk
GPG key ID: 7797B761E105E8AA

View file

@ -331,7 +331,7 @@ pub enum SabryBuildError {
#[error("Sabry cant understand the file")]
FileVisit(#[from] FileVisitError),
#[error("Syntax of style can not be parsed")]
SyntaxParse(#[from] ScopeError),
SyntaxError(#[from] ScopeError),
#[error("Another scope has the same hash, and sabry is configured to raise an error. Try to adjust config, increase hash size, or change the style code")]
HashCollision { scope: ModuleName },
#[error("Something's wrong with file path")]