Nathan Weizenbaum
35e690bcc8
[Sass] Move CSS exception-formatting into static methods on Sass::SyntaxError.
2009-09-14 03:26:27 -07:00
Nathan Weizenbaum
80451b1e76
[Sass] Keep the template text around for error reporting.
2009-09-14 02:41:20 -07:00
Nathan Weizenbaum
f392867fb0
[Sass] Format the Sass backtrace string a little nicer.
2009-09-14 02:41:19 -07:00
Nathan Weizenbaum
f4380e655a
[Sass] Print the Sass backtrace on error for the sass executable.
2009-09-14 02:41:19 -07:00
Nathan Weizenbaum
616a00cea6
[Sass] Improve error handling.
...
Unify and clarify the way Sass errors are handled (see notes in Sass::Error).
This fixes some bugs with filenames and/or line numbers being mis-recorded for imports.
2009-09-14 02:41:16 -07:00
Nathan Weizenbaum
3643965e2c
[Sass] Make sure UnitConversionError gets documented as a class.
2009-07-04 14:19:07 -07:00
Chris Eppstein
de6efe861e
Raise Sass::UnitConversionError, a subclass of Sass::SyntaxError, when raising errors about unit conversion. Facilitates proper error handling.
2009-07-03 14:11:56 -07:00
Nathan Weizenbaum
126ee8191b
Merge branch 'sassc' into yard-sassc
...
Conflicts:
lib/sass.rb
lib/sass/error.rb
lib/sass/tree/comment_node.rb
lib/sass/tree/debug_node.rb
lib/sass/tree/directive_node.rb
lib/sass/tree/file_node.rb
lib/sass/tree/for_node.rb
lib/sass/tree/if_node.rb
lib/sass/tree/mixin_def_node.rb
lib/sass/tree/mixin_node.rb
lib/sass/tree/node.rb
lib/sass/tree/while_node.rb
2009-04-25 13:00:22 -07:00
Nathan Weizenbaum
3cf720bc75
[Sass] Convert Sass::SyntaxError docs to YARD.
2009-04-24 23:45:56 -07:00
Nathan Weizenbaum
8699dfff39
[Sass] Refactor line- and filename-setting on Sass errors.
2009-04-21 23:51:16 -07:00
Nathan Weizenbaum
97f9810d8a
Errors should descend from StandardError, not Exception.
2008-08-29 20:40:42 -07:00
Nathan Weizenbaum
1375eff365
Custom errors should extend Exception, not StandardError.
2008-04-19 15:18:32 -07:00
nex3
a9e4883c68
Errors in Sassily imported documents are displayed with the proper filename.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@447 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-25 04:57:03 +00:00
nex3
03c644e5a6
Added lots of :nodocs: and
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@384 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-01 05:52:47 +00:00
nex3
403f9669b5
Cleaner constant error reporting.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@337 7063305b-7217-0410-af8c-cdc13e5119b9
2007-02-04 03:20:24 +00:00
nex3
bbc8dc9582
Nicer error formatting, correct line numbering on errors thrown.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@334 7063305b-7217-0410-af8c-cdc13e5119b9
2007-02-02 06:15:28 +00:00
nex3
7aedfff581
Cleaner exception handling in Sass::Constant.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@319 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-28 17:24:08 +00:00
nex3
ad6188d1fe
Adding Sass syntax errors.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@317 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-28 10:14:15 +00:00