Sha256: 5b4bc2c9bca3adbd7a0224d2e62a7c22e36b28b4cf5a295f63f6e93458fe8700

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

#ifndef SASS_ERROR_HANDLING_H
#define SASS_ERROR_HANDLING_H

#include <string>

#include "position.hpp"

namespace Sass {
  using namespace std;

  struct Backtrace;

  struct Sass_Error {
    enum Type { read, write, syntax, evaluation };

    Type type;
    ParserState pstate;
    string message;

    Sass_Error(Type type, ParserState pstate, string message);

  };

  void error(string msg, ParserState pstate);
  void error(string msg, ParserState pstate, Backtrace* bt);

}

#endif

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sassc-1.0.0 ext/libsass/error_handling.hpp
sassc-0.0.11 ext/libsass/error_handling.hpp