Module
Sentry.Raven.Breadcrumb
- Package
- purescript-sentry-raven
- Repository
- adamczykm/purescript-sentry-raven
#Type Source
data Type
Represents possible types of a breadcrumb with special treatment from Sentry API
Constructors
Instances
#Breadcrumb Source
newtype Breadcrumb a d
Breadcrumb type aggregating breadcrumb data supported by Sentry API
Constructors
Breadcrumb (BreadcrumbT a d)
Instances
(Eq a, Eq d) => Eq (Breadcrumb a d)
(ReadForeign a, ReadForeign d) => ReadForeign (Breadcrumb a d)
(WriteForeign a, WriteForeign d) => WriteForeign (Breadcrumb a d)
#Breadcrumb' Source
type Breadcrumb' a = Breadcrumb a X
Breadcrumb type with no associated data
#breadcrumb Source
breadcrumb :: forall d a. a -> (BreadcrumbT a d -> BreadcrumbT a d) -> Breadcrumb a d
Allows for convenient creation of a restricted breadcrumb.
#breadcrumb' Source
breadcrumb' :: forall a. a -> (BreadcrumbT a X -> BreadcrumbT a X) -> Breadcrumb a X
Allows for convenient creation of a restricted breadcrumb without carrying additional data.
#recordBreadcrumb' Source
recordBreadcrumb' :: forall d a ctx h. WriteForeign a => WriteForeign d => Raven h ctx -> Breadcrumb a d -> Effect Unit
Adds a breadcrumb to the current context. Notice that replacing context will cause recorded breadcrumbs to be dropped. You may also want to use 'recordBreadcrumb' from 'Sentry.Raven.Core' for non-restricted version of this function.