mirror of
https://github.com/hanzoai/postcss.git
synced 2026-09-24 17:01:56 +00:00
11 lines
330 B
CoffeeScript
11 lines
330 B
CoffeeScript
# Error while CSS parsing
|
|
class SyntaxError extends Error
|
|
constructor: (text, @source, pos, @file) ->
|
|
@line = pos.line
|
|
@column = pos.column
|
|
@message = "Can't parse CSS: #{ text }"
|
|
@message += " at line #{ pos.line }:#{ pos.column }"
|
|
@message += " in #{ @file }" if @file
|
|
|
|
module.exports = SyntaxError
|