Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data SomeJSRuntimeException Source #
forall e.Exception e => SomeJSRuntimeException e |
Instances
Show SomeJSRuntimeException Source # | |
Defined in Quickjs.Error showsPrec :: Int -> SomeJSRuntimeException -> ShowS # show :: SomeJSRuntimeException -> String # showList :: [SomeJSRuntimeException] -> ShowS # | |
Exception SomeJSRuntimeException Source # | |
Defined in Quickjs.Error |
jsRuntimeExceptionToException :: Exception e => e -> SomeException Source #
jsRuntimeExceptionFromException :: Exception e => SomeException -> Maybe e Source #
data UnknownJSTag Source #
Instances
Show UnknownJSTag Source # | |
Defined in Quickjs.Error showsPrec :: Int -> UnknownJSTag -> ShowS # show :: UnknownJSTag -> String # showList :: [UnknownJSTag] -> ShowS # | |
Generic UnknownJSTag Source # | |
Defined in Quickjs.Error type Rep UnknownJSTag :: Type -> Type # from :: UnknownJSTag -> Rep UnknownJSTag x # to :: Rep UnknownJSTag x -> UnknownJSTag # | |
Exception UnknownJSTag Source # | |
Defined in Quickjs.Error | |
type Rep UnknownJSTag Source # | |
Defined in Quickjs.Error type Rep UnknownJSTag = D1 ('MetaData "UnknownJSTag" "Quickjs.Error" "quickjs-hs-0.1.2.4-84EK2m4f8oHMvR1T3WgCG" 'False) (C1 ('MetaCons "UnknownJSTag" 'PrefixI 'True) (S1 ('MetaSel ('Just "raw_tag") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CLong))) |
data UnsupportedTypeTag Source #
Instances
Show UnsupportedTypeTag Source # | |
Defined in Quickjs.Error showsPrec :: Int -> UnsupportedTypeTag -> ShowS # show :: UnsupportedTypeTag -> String # showList :: [UnsupportedTypeTag] -> ShowS # | |
Generic UnsupportedTypeTag Source # | |
Defined in Quickjs.Error type Rep UnsupportedTypeTag :: Type -> Type # from :: UnsupportedTypeTag -> Rep UnsupportedTypeTag x # to :: Rep UnsupportedTypeTag x -> UnsupportedTypeTag # | |
Exception UnsupportedTypeTag Source # | |
Defined in Quickjs.Error | |
type Rep UnsupportedTypeTag Source # | |
Defined in Quickjs.Error type Rep UnsupportedTypeTag = D1 ('MetaData "UnsupportedTypeTag" "Quickjs.Error" "quickjs-hs-0.1.2.4-84EK2m4f8oHMvR1T3WgCG" 'False) (C1 ('MetaCons "UnsupportedTypeTag" 'PrefixI 'True) (S1 ('MetaSel ('Just "_tag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 JSTagEnum))) |
data JSException Source #
Instances
Show JSException Source # | |
Defined in Quickjs.Error showsPrec :: Int -> JSException -> ShowS # show :: JSException -> String # showList :: [JSException] -> ShowS # | |
Generic JSException Source # | |
Defined in Quickjs.Error type Rep JSException :: Type -> Type # from :: JSException -> Rep JSException x # to :: Rep JSException x -> JSException # | |
Exception JSException Source # | |
Defined in Quickjs.Error | |
type Rep JSException Source # | |
Defined in Quickjs.Error type Rep JSException = D1 ('MetaData "JSException" "Quickjs.Error" "quickjs-hs-0.1.2.4-84EK2m4f8oHMvR1T3WgCG" '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 #
Instances
Show JSValueUndefined Source # | |
Defined in Quickjs.Error showsPrec :: Int -> JSValueUndefined -> ShowS # show :: JSValueUndefined -> String # showList :: [JSValueUndefined] -> ShowS # | |
Generic JSValueUndefined Source # | |
Defined in Quickjs.Error type Rep JSValueUndefined :: Type -> Type # from :: JSValueUndefined -> Rep JSValueUndefined x # to :: Rep JSValueUndefined x -> JSValueUndefined # | |
Exception JSValueUndefined Source # | |
Defined in Quickjs.Error | |
type Rep JSValueUndefined Source # | |
Defined in Quickjs.Error type Rep JSValueUndefined = D1 ('MetaData "JSValueUndefined" "Quickjs.Error" "quickjs-hs-0.1.2.4-84EK2m4f8oHMvR1T3WgCG" 'False) (C1 ('MetaCons "JSValueUndefined" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
data JSValueIncorrectType Source #
Instances
data InternalError Source #
Instances
Show InternalError Source # | |
Defined in Quickjs.Error showsPrec :: Int -> InternalError -> ShowS # show :: InternalError -> String # showList :: [InternalError] -> ShowS # | |
Generic InternalError Source # | |
Defined in Quickjs.Error type Rep InternalError :: Type -> Type # from :: InternalError -> Rep InternalError x # to :: Rep InternalError x -> InternalError # | |
Exception InternalError Source # | |
Defined in Quickjs.Error | |
type Rep InternalError Source # | |
Defined in Quickjs.Error type Rep InternalError = D1 ('MetaData "InternalError" "Quickjs.Error" "quickjs-hs-0.1.2.4-84EK2m4f8oHMvR1T3WgCG" 'False) (C1 ('MetaCons "InternalError" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |