quickjs-hs-0.1: Wrapper for the QuickJS Javascript Engine
Safe HaskellNone
LanguageHaskell2010

Quickjs.Error

Documentation

newtype JSRuntimeException e Source #

Constructors

JSRuntimeException e 

Instances

Instances details
Show e => Show (JSRuntimeException e) Source # 
Instance details

Defined in Quickjs.Error

Generic (JSRuntimeException e) Source # 
Instance details

Defined in Quickjs.Error

Associated Types

type Rep (JSRuntimeException e) :: Type -> Type #

(Show e, Typeable e) => Exception (JSRuntimeException e) Source # 
Instance details

Defined in Quickjs.Error

type Rep (JSRuntimeException e) Source # 
Instance details

Defined in Quickjs.Error

type Rep (JSRuntimeException e) = D1 ('MetaData "JSRuntimeException" "Quickjs.Error" "quickjs-hs-0.1-inplace" 'True) (C1 ('MetaCons "JSRuntimeException" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 e)))

data UnknownJSTag Source #

Constructors

UnknownJSTag 

Fields

Instances

Instances details
Show UnknownJSTag Source # 
Instance details

Defined in Quickjs.Error

Generic UnknownJSTag Source # 
Instance details

Defined in Quickjs.Error

Associated Types

type Rep UnknownJSTag :: Type -> Type #

Exception UnknownJSTag Source # 
Instance details

Defined in Quickjs.Error

type Rep UnknownJSTag Source # 
Instance details

Defined in Quickjs.Error

type Rep UnknownJSTag = D1 ('MetaData "UnknownJSTag" "Quickjs.Error" "quickjs-hs-0.1-inplace" 'False) (C1 ('MetaCons "UnknownJSTag" 'PrefixI 'True) (S1 ('MetaSel ('Just "raw_tag") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CLong)))

data UnsupportedTypeTag Source #

Constructors

UnsupportedTypeTag 

Fields

Instances

Instances details
Show UnsupportedTypeTag Source # 
Instance details

Defined in Quickjs.Error

Generic UnsupportedTypeTag Source # 
Instance details

Defined in Quickjs.Error

Associated Types

type Rep UnsupportedTypeTag :: Type -> Type #

Exception UnsupportedTypeTag Source # 
Instance details

Defined in Quickjs.Error

type Rep UnsupportedTypeTag Source # 
Instance details

Defined in Quickjs.Error

type Rep UnsupportedTypeTag = D1 ('MetaData "UnsupportedTypeTag" "Quickjs.Error" "quickjs-hs-0.1-inplace" 'False) (C1 ('MetaCons "UnsupportedTypeTag" 'PrefixI 'True) (S1 ('MetaSel ('Just "_tag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 JSTagEnum)))

data JSException Source #

Constructors

JSException 

Fields

Instances

Instances details
Show JSException Source # 
Instance details

Defined in Quickjs.Error

Generic JSException Source # 
Instance details

Defined in Quickjs.Error

Associated Types

type Rep JSException :: Type -> Type #

Exception JSException Source # 
Instance details

Defined in Quickjs.Error

type Rep JSException Source # 
Instance details

Defined in Quickjs.Error

type Rep JSException = D1 ('MetaData "JSException" "Quickjs.Error" "quickjs-hs-0.1-inplace" 'False) (C1 ('MetaCons "JSException" 'PrefixI 'True) (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data JSValueUndefined Source #

Constructors

JSValueUndefined 

Fields

Instances

Instances details
Show JSValueUndefined Source # 
Instance details

Defined in Quickjs.Error

Generic JSValueUndefined Source # 
Instance details

Defined in Quickjs.Error

Associated Types

type Rep JSValueUndefined :: Type -> Type #

Exception JSValueUndefined Source # 
Instance details

Defined in Quickjs.Error

type Rep JSValueUndefined Source # 
Instance details

Defined in Quickjs.Error

type Rep JSValueUndefined = D1 ('MetaData "JSValueUndefined" "Quickjs.Error" "quickjs-hs-0.1-inplace" 'False) (C1 ('MetaCons "JSValueUndefined" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data InternalError Source #

Constructors

InternalError 

Fields

Instances

Instances details
Show InternalError Source # 
Instance details

Defined in Quickjs.Error

Generic InternalError Source # 
Instance details

Defined in Quickjs.Error

Associated Types

type Rep InternalError :: Type -> Type #

Exception InternalError Source # 
Instance details

Defined in Quickjs.Error

type Rep InternalError Source # 
Instance details

Defined in Quickjs.Error

type Rep InternalError = D1 ('MetaData "InternalError" "Quickjs.Error" "quickjs-hs-0.1-inplace" 'False) (C1 ('MetaCons "InternalError" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Orphan instances

ToJSON CLong Source # 
Instance details

Methods

toJSON :: CLong -> Value

toEncoding :: CLong -> Encoding

toJSONList :: [CLong] -> Value

toEncodingList :: [CLong] -> Encoding