Sha256: 64ec6a76c20258a86e55dfc7d5a15158bedaa6d6d43e486afdad4fab135f6cd4

Contents?: true

Size: 529 Bytes

Versions: 8

Compression:

Stored size: 529 Bytes

Contents

#define SASS_ERROR_HANDLING
#include <string>

#ifndef SASS_POSITION
#include "position.hpp"
#endif

namespace Sass {
  using namespace std;

  struct Backtrace;

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

    Type type;
    string path;
    Position position;
    string message;

    Sass_Error(Type type, string path, Position position, string message);

  };

  void error(string msg, string path, Position position);
  void error(string msg, string path, Position position, Backtrace* bt);

}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sassc-0.0.9 ext/libsass/error_handling.hpp
sassc-0.0.8 ext/libsass/error_handling.hpp
sassc-0.0.7 ext/libsass/error_handling.hpp
sassc-0.0.6 ext/libsass/error_handling.hpp
sassc-0.0.5 ext/libsass/error_handling.hpp
sassc-0.0.4 ext/libsass/error_handling.hpp
sassc-0.0.2 ext/libsass/error_handling.hpp
sassc-0.0.1 ext/libsass/error_handling.hpp