Skip to Content
Hydra@exodus/sentry-client

@exodus/sentry-client

Version: 0.0.0

createSentryClient

variable

Type

const createSentryClient: (opts: SentryConstructorOptions) => Sentry

Signature

Parameters:

Returns:

Sentry

toSentryError

variable

Type

const toSentryError: ({ unsafeError, config, unsafeContext, }: ToSentryErrorParams) => SentryError | undefined

Signature

__type({ unsafeError, config, unsafeContext, }: ToSentryErrorParams): SentryError | undefined

Parameters:

{ unsafeError, config, unsafeContext, }: ToSentryErrorParams

Returns:

SentryError | undefined

EnvelopeHeader

interface

Properties

event_id
string

FormatStackFramesParams

interface

Properties

frames
any[]
jsEngine

ItemHeader

interface

Properties

type
string

RewriteFilenameParams

interface

Properties

jsEngine

SentryConfig

interface

Properties

appName
string
appVersion
string
buildId
string
dsnUrl
string
environment
jsEngine
os
string
osVersion
string
platform
string
projectId
string
publicKey
string

SentryConstructorOptions

interface

Properties

SentryError

interface

Properties

dist
string
environment
event_id
string
exception
any
level
"fatal" | "error" | "warning" | "info" | "debug"
platform
string
release
string
tags
any
timestamp
number

SentryExceptionValue

interface

Properties

mechanism?
any
stacktrace
any
type
string
value?
string

SentryStackFrame

interface

Properties

async?
boolean
colno?
number
filename?
string
function?
string
in_app?
boolean
lineno?
number
method?
string

ToSentryErrorParams

interface

Properties

unsafeContext?
unknown
unsafeError
Error

Envelope

type

Environment

type

JsEngine

type

RelativePath

type

SubmitEnvelopeFunction

type

UnsafeContext

type

createSentryClient

function

Signature

createSentryClient(opts: SentryConstructorOptions): Sentry

Parameters:

Returns:

Sentry

toSentryError

function

Signature

toSentryError(__namedParameters: ToSentryErrorParams): undefined | SentryError

Parameters:

__namedParameters: ToSentryErrorParams

Returns:

undefined | SentryError

EnvelopeHeader

interface

Properties

event_id
string

FormatStackFramesParams

interface

Properties

frames
any[]
jsEngine

ItemHeader

interface

Properties

type
string

RewriteFilenameParams

interface

Properties

jsEngine

SentryConfig

interface

Properties

appName
string
appVersion
string
buildId
string
dsnUrl
string
environment
jsEngine
os
string
osVersion
string
platform
string
projectId
string
publicKey
string

SentryConstructorOptions

interface

Properties

SentryError

interface

Properties

dist
string
environment
event_id
string
exception
any
level
"fatal" | "error" | "warning" | "info" | "debug"
platform
string
release
string
tags
any
timestamp
number

SentryExceptionValue

interface

Properties

mechanism?
any
stacktrace
any
type
string
value?
string

SentryStackFrame

interface

Properties

async?
boolean
colno?
number
filename?
string
function?
string
in_app?
boolean
lineno?
number
method?
string

ToSentryErrorParams

interface

Properties

unsafeContext?
unknown
unsafeError
Error

Envelope

type

Environment

type

JsEngine

type

RelativePath

type

SubmitEnvelopeFunction

type

UnsafeContext

type

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right

Start building
Grateful

Contact Us

We're here to help