Sha256: 38433422bad90fb752e10d8ed367f9923f205adecb37b06f02ad0073300bc966

Contents?: true

Size: 594 Bytes

Versions: 14

Compression:

Stored size: 594 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 warn(string msg, ParserState pstate);
  void warn(string msg, ParserState pstate, Backtrace* bt);

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

}

#endif

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
gulp_assets-1.0.0.pre.5 template/node_modules/gulp-sass/node_modules/node-sass/src/libsass/error_handling.hpp
gulp_assets-1.0.0.pre.4 template/node_modules/gulp-sass/node_modules/node-sass/src/libsass/error_handling.hpp
gulp_assets-1.0.0.pre.3 template/node_modules/gulp-sass/node_modules/node-sass/src/libsass/error_handling.hpp
sassc-1.7.1 ext/libsass/error_handling.hpp
sassc-1.7.0 ext/libsass/error_handling.hpp
sassc-1.6.0 ext/libsass/error_handling.hpp
sassc-1.5.1 ext/libsass/error_handling.hpp
sassc-1.5.0 ext/libsass/error_handling.hpp
sassc-1.4.0 ext/libsass/error_handling.hpp
sassc-1.3.0 ext/libsass/error_handling.hpp
sassc-1.2.0 ext/libsass/error_handling.hpp
sassc-1.1.2 ext/libsass/error_handling.hpp
sassc-1.1.1 ext/libsass/error_handling.hpp
sassc-1.1.0 ext/libsass/error_handling.hpp