Skip to content

Error logging #39

Description

@davetayls

Currently you get an error like:

Fatal error: rework-vars: variable "--varname" is undefined
Error: rework-vars: variable "--varname" is undefined

When a variable is undefined, it would be nice if it gave a file and a line number a bit like you get on the error that gets thrown by the css parser itself.

{ [Error: /Users/[...]/index.css:19:14: property missing ':']
  reason: 'property missing \':\'',
  filename: '/Users/[...]/index.css',
  line: 19,
  column: 14,
  source: '...' }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions