CPP   51

error.h

Guest on 20th May 2022 01:43:01 AM

  1. #ifndef SASS_TYPES_ERROR_H
  2. #define SASS_TYPES_ERROR_H
  3.  
  4. #include <nan.h>
  5. #include "sass_value_wrapper.h"
  6.  
  7. namespace SassTypes
  8. {
  9.   class Error : public SassValueWrapper<Error> {
  10.     public:
  11.       Error(Sass_Value*);
  12.       static char const* get_constructor_name() { return "SassError"; }
  13.       static Sass_Value* construct(const std::vector<v8::Local<v8::Value>>, Sass_Value **);
  14.  
  15.       static void initPrototype(v8::Local<v8::FunctionTemplate>);
  16.   };
  17. }
  18.  
  19. #endif

Raw Paste


Login or Register to edit or fork this paste. It's free.