The sentry-client Reference Manual

This is the sentry-client Reference Manual, version 0.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:22:52 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 sentry-client

Sentry client

Author

Mariano Montone <>

Home Page

https://github.com/mmontone/cl-sentry-client

License

MIT

Long Description

# CL-SENTRY-CLIENT

Sentry client for Common Lisp

WIP

## Basic usage

“‘lisp
(sentry-client:initialize-sentry-client <sentry-dsn>)
(sentry-client:with-sentry-error-handler () (error "test"))
“‘

Or in your own error handler:

“‘lisp
(handler-case (my-code-with-error)
(error (e)
(sentry-client:capture-exception e)
...)))
“‘

### Hunchentoot handler

“‘lisp
(defmethod hunchentoot:maybe-invoke-debugger :after (condition)
(when hunchentoot:*catch-errors-p*
;; There’s an error in trivial-backtrace:map-backtrace in SBCL
;; if we don’t set sb-debug:*stack-top-hint* to NIL
(let ((sb-debug:*stack-top-hint* nil))
(sentry-client:capture-exception condition))))
“‘

Just add ‘sentry-client.hunchentoot‘ as ASDF dependency to include the Hunchentoot handler.

## Async client version

The async version of the client uses simple-tasks library for sending HTTP requests in the background

“‘lisp
(ql:quickload :sentry-client.async)

(sentry-client:initialize-sentry-client <dsn> :client-class ’sentry-client:async-sentry-client) (sentry-client:test-sentry-client)
“‘

## Screenshots

![alt text](https://github.com/mmontone/cl-sentry-client/raw/master/doc/screenshot1.png "Screenshot 1") ![alt text](https://github.com/mmontone/cl-sentry-client/raw/master/doc/screenshot2.png "Screenshot 2")

## License

MIT

Version

0.0.1

Dependencies
  • dexador (system).
  • cl-json (system).
  • cl-ppcre (system).
  • uuid (system).
  • local-time (system).
  • trivial-backtrace (system).
  • babel (system).
  • salza2 (system).
  • swank (system).
  • alexandria (system).
Source

sentry-client.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 sentry-client/sentry-client.asd

Source

sentry-client.asd.

Parent Component

sentry-client (system).

ASDF Systems

sentry-client.


3.1.2 sentry-client/package.lisp

Source

sentry-client.asd.

Parent Component

sentry-client (system).

Packages

sentry-client.


3.1.3 sentry-client/stacktrace.lisp

Dependency

package.lisp (file).

Source

sentry-client.asd.

Parent Component

sentry-client (system).

Internals

3.1.4 sentry-client/sentry-client.lisp

Dependency

stacktrace.lisp (file).

Source

sentry-client.asd.

Parent Component

sentry-client (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 sentry-client

# CL-SENTRY-CLIENT

Sentry client for Common Lisp

WIP

## Basic usage

“‘lisp
(sentry-client:initialize-sentry-client <sentry-dsn>)
(sentry-client:with-sentry-error-handler () (error "test"))
“‘

Or in your own error handler:

“‘lisp
(handler-case (my-code-with-error)
(error (e)
(sentry-client:capture-exception e)
...)))
“‘

### Hunchentoot handler

“‘lisp
(defmethod hunchentoot:maybe-invoke-debugger :after (condition)
(when hunchentoot:*catch-errors-p*
;; There’s an error in trivial-backtrace:map-backtrace in SBCL
;; if we don’t set sb-debug:*stack-top-hint* to NIL
(let ((sb-debug:*stack-top-hint* nil))
(sentry-client:capture-exception condition))))
“‘

Just add ‘sentry-client.hunchentoot‘ as ASDF dependency to include the Hunchentoot handler.

## Async client version

The async version of the client uses simple-tasks library for sending HTTP requests in the background

“‘lisp
(ql:quickload :sentry-client.async)

(sentry-client:initialize-sentry-client <dsn> :client-class ’sentry-client:async-sentry-client) (sentry-client:test-sentry-client)
“‘

## Screenshots

![alt text](https://github.com/mmontone/cl-sentry-client/raw/master/doc/screenshot1.png "Screenshot 1") ![alt text](https://github.com/mmontone/cl-sentry-client/raw/master/doc/screenshot2.png "Screenshot 2")

## License

MIT

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Special variables

Special Variable: *request*
Package

sentry-client.

Source

sentry-client.lisp.

Special Variable: *sentry-client*

The current sentry client.

Package

sentry-client.

Source

sentry-client.lisp.


5.1.2 Macros

Macro: with-sentry-error-handler ((&rest args &key resignal &allow-other-keys) &body body)

Setup an error handler that sends conditions signaled in BODY to Sentry.
If RESIGNAL is T (default), then the condition is resignaled after being captured by the Sentry handler.

Package

sentry-client.

Source

sentry-client.lisp.


5.1.3 Ordinary functions

Function: capture-exception (condition &rest args)

Send CONDITION to Sentry.

Possible args:
- :EXTRAS: an association list with extra app specific information to encode in the Sentry event.

Package

sentry-client.

Source

sentry-client.lisp.

Function: initialize-sentry-client (dsn &rest args &key client-class &allow-other-keys)
Package

sentry-client.

Source

sentry-client.lisp.

Function: make-sentry-request (&key url method headers)
Package

sentry-client.

Source

sentry-client.lisp.

Function: make-sentry-request-headers (&key accept host user-agent)
Package

sentry-client.

Source

sentry-client.lisp.

Function: make-sentry-user (&key id username email ip-address geo extras)
Package

sentry-client.

Source

sentry-client.lisp.

Function: test-sentry-client (datum &rest args)

Use for testing the sentry client.

Use: (test-sentry-client ’error "my error")

Package

sentry-client.

Source

sentry-client.lisp.


5.1.4 Generic functions

Generic Function: sentry-tags (error)

Returns an alist of tags for ERROR.
User can specialize this generic function for custom CONDITION classes.

Package

sentry-client.

Source

sentry-client.lisp.

Methods
Method: sentry-tags ((condition condition))

5.1.5 Standalone methods

Method: initialize-instance :after ((sentry-client sentry-client) &rest initargs)
Source

sentry-client.lisp.


5.1.6 Structures

Structure: sentry-request

The Request interface contains information on a HTTP request related to the event.

See: https://develop.sentry.dev/sdk/event-payloads/request/

Package

sentry-client.

Source

sentry-client.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: url
Type

(or null string)

Readers

sentry-request-url.

Writers

(setf sentry-request-url).

Slot: method
Package

common-lisp.

Type

(or null string)

Readers

sentry-request-method.

Writers

(setf sentry-request-method).

Slot: headers
Type

(or null sentry-client::sentry-request-headers)

Readers

sentry-request-headers.

Writers

(setf sentry-request-headers).

Structure: sentry-user

An interface describing the authenticated User for a request.

You should provide at least one of id, email, ip_address, username for Sentry to be able to tell you how many users are affected by one issue, for example. Sending a user that has none of these attributes and only custom attributes is valid, but not as useful.

See: https://develop.sentry.dev/sdk/event-payloads/user/

Package

sentry-client.

Source

sentry-client.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: id
Type

(or null string)

Readers

sentry-user-id.

Writers

(setf sentry-user-id).

Slot: username
Type

(or null string)

Readers

sentry-user-username.

Writers

(setf sentry-user-username).

Slot: email
Type

(or null string)

Readers

sentry-user-email.

Writers

(setf sentry-user-email).

Slot: ip-address
Type

(or null string)

Readers

sentry-user-ip-address.

Writers

(setf sentry-user-ip-address).

Slot: geo
Type

(or null sentry-client::geo-location)

Readers

sentry-user-geo.

Writers

(setf sentry-user-geo).

Slot: extras
Type

list

Readers

sentry-user-extras.

Writers

(setf sentry-user-extras).


5.1.7 Classes

Class: sentry-client

A sentry client

Package

sentry-client.

Source

sentry-client.lisp.

Direct methods
Direct slots
Slot: dsn
Initform

(error "provide the dsn")

Initargs

:dsn

Readers

dsn.

Writers

(setf dsn).

Slot: transport
Initform

:http

Initargs

:transport

Readers

sentry-transport.

Writers

(setf sentry-transport).

Slot: connection-timeout
Initform

10

Initargs

:connection-timeout

Readers

connection-timeout.

Writers

(setf connection-timeout).

Slot: release

The release version of the application.

Initargs

:release

Readers

project-release.

Writers

(setf project-release).

Slot: server-name

Identifies the host from which the event was recorded.

Initargs

:server-name

Readers

server-name.

Writers

(setf server-name).

Slot: environment
Initform

"production"

Initargs

:environment

Readers

running-environment.

Writers

(setf running-environment).

Slot: gzip-compression
Initform

t

Initargs

:gzip-compression

Readers

gzip-compression-p.

Writers

(setf gzip-compression-p).


5.2 Internals


5.2.1 Special variables

Special Variable: +dsn-regex+
Package

sentry-client.

Source

sentry-client.lisp.

Special Variable: +sentry-timestamp-format+
Package

sentry-client.

Source

sentry-client.lisp.


5.2.2 Macros

Macro: with-sentry-client ((class &rest args) &body body)

Run BODY in the scope of a sentry client created from CLASS and ARGS.

Package

sentry-client.

Source

sentry-client.lisp.


5.2.3 Ordinary functions

Reader: buffer-content (instance)
Writer: (setf buffer-content) (instance)
Package

sentry-client.

Source

stacktrace.lisp.

Target Slot

content.

Function: buffer-p (object)
Package

sentry-client.

Source

stacktrace.lisp.

Reader: buffer-position (instance)
Writer: (setf buffer-position) (instance)
Package

sentry-client.

Source

stacktrace.lisp.

Target Slot

position.

Function: call-with-sentry-client (function client-class &rest args)

Call FUNCTION in the context of a SENTRY-CLIENT instantied from CLIENT-CLASS and ARGS.

Package

sentry-client.

Source

sentry-client.lisp.

Function: collect-stacktrace ()
Package

sentry-client.

Source

stacktrace.lisp.

Function: copy-buffer (instance)
Package

sentry-client.

Source

stacktrace.lisp.

Function: copy-geo-location (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Function: copy-sentry-request (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Function: copy-sentry-request-headers (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Function: copy-sentry-user (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Function: copy-stack-frame (instance)
Package

sentry-client.

Source

stacktrace.lisp.

Function: current-line-number (buffer)
Package

sentry-client.

Source

stacktrace.lisp.

Function: encode-core-event-attributes (condition json-stream &key extras sentry-client transaction user request)

Encode core Sentry event attributes.

See: https://develop.sentry.dev/sdk/event-payloads/

Package

sentry-client.

Source

sentry-client.lisp.

Function: encode-exception (condition json-stream &optional sentry-client)

Encode CONDITION into JSON-STREAM.

See: https://develop.sentry.dev/sdk/event-payloads/

Package

sentry-client.

Source

sentry-client.lisp.

Function: encode-exception-event (condition &key sentry-client extras user transaction)

Encode CONDITION to a string in JSON format for Sentry.

See: https://develop.sentry.dev/sdk/event-payloads/exception/

Package

sentry-client.

Source

sentry-client.lisp.

Function: encode-sbcl-stacktrace (json-stream)
Package

sentry-client.

Source

stacktrace.lisp.

Function: encode-sentry-auth-header (sentry-client)

Encode Sentry authentication header.

Package

sentry-client.

Source

sentry-client.lisp.

Function: encode-stacktrace (condition json-stream &optional sentry-client)

Encode stacktrace for CONDITION as JSON in JSON-STREAM.

See: https://develop.sentry.dev/sdk/event-payloads/stacktrace/

Package

sentry-client.

Source

sentry-client.lisp.

Function: format-sentry-timestamp (stream &optional timestamp)

Format TIMESTAMP for Sentry.
If no TIMESTAMP is provided, then current time is used.

Package

sentry-client.

Source

sentry-client.lisp.

Reader: geo-location-city (instance)
Writer: (setf geo-location-city) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

city.

Reader: geo-location-country-code (instance)
Writer: (setf geo-location-country-code) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

country-code.

Function: geo-location-p (object)
Package

sentry-client.

Source

sentry-client.lisp.

Reader: geo-location-region (instance)
Writer: (setf geo-location-region) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

region.

Function: get-beginning-of-line-pos (buffer &optional pos)
Package

sentry-client.

Source

stacktrace.lisp.

Function: get-end-of-line-pos (buffer &optional pos)
Package

sentry-client.

Source

stacktrace.lisp.

Function: get-frame-function (frame)
Package

sentry-client.

Source

stacktrace.lisp.

Function: get-frame-vars (index)
Package

sentry-client.

Source

stacktrace.lisp.

Function: get-next-line-position (buffer n)
Package

sentry-client.

Source

stacktrace.lisp.

Function: get-post-lines (buffer n)
Package

sentry-client.

Source

stacktrace.lisp.

Function: get-pre-lines (buffer n)
Package

sentry-client.

Source

stacktrace.lisp.

Function: get-previous-line-position (buffer n)
Package

sentry-client.

Source

stacktrace.lisp.

Function: get-source-contexts (source-location)
Package

sentry-client.

Source

stacktrace.lisp.

Function: get-source-location-filename (source-location)
Package

sentry-client.

Source

stacktrace.lisp.

Function: line-string (buffer)
Package

sentry-client.

Source

stacktrace.lisp.

Function: load-location-buffer (location-buffer)
Package

sentry-client.

Source

stacktrace.lisp.

Function: make-buffer (&key content position)
Package

sentry-client.

Source

stacktrace.lisp.

Function: make-geo-location (&key city country-code region)
Package

sentry-client.

Source

sentry-client.lisp.

Function: make-sentry-client (dsn &optional class)
Package

sentry-client.

Source

sentry-client.lisp.

Function: make-sentry-event-id ()

Create an ID for a new Sentry event.

Package

sentry-client.

Source

sentry-client.lisp.

Function: make-stack-frame (&key filename function pre-context context-line post-context line-number vars)
Package

sentry-client.

Source

stacktrace.lisp.

Function: move-to-position (buffer position)
Package

sentry-client.

Source

stacktrace.lisp.

Function: parse-dsn (dsn-string)

Parse a DSN string to a list object.
See: https://docs.sentry.io/product/sentry-basics/dsn-explainer/

Package

sentry-client.

Source

sentry-client.lisp.

Function: post-sentry-request (data &optional sentry-client)

Just send DATA to sentry api via HTTP.

Package

sentry-client.

Source

sentry-client.lisp.

Function: read-dsn (dsn)

Return a DSN object. If DSN is an object already, it returns it. If it is a string, it parses it.

Package

sentry-client.

Source

sentry-client.lisp.

Function: sentry-api-url (&optional sentry-client)

The events url.

See: https://develop.sentry.dev/sdk/store/

Package

sentry-client.

Source

sentry-client.lisp.

Reader: sentry-request-headers (instance)
Writer: (setf sentry-request-headers) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

headers.

Reader: sentry-request-headers-accept (instance)
Writer: (setf sentry-request-headers-accept) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

accept.

Reader: sentry-request-headers-host (instance)
Writer: (setf sentry-request-headers-host) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

host.

Function: sentry-request-headers-p (object)
Package

sentry-client.

Source

sentry-client.lisp.

Reader: sentry-request-headers-user-agent (instance)
Writer: (setf sentry-request-headers-user-agent) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

user-agent.

Reader: sentry-request-method (instance)
Writer: (setf sentry-request-method) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

method.

Function: sentry-request-p (object)
Package

sentry-client.

Source

sentry-client.lisp.

Reader: sentry-request-url (instance)
Writer: (setf sentry-request-url) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

url.

Reader: sentry-user-email (instance)
Writer: (setf sentry-user-email) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

email.

Reader: sentry-user-extras (instance)
Writer: (setf sentry-user-extras) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

extras.

Reader: sentry-user-geo (instance)
Writer: (setf sentry-user-geo) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

geo.

Reader: sentry-user-id (instance)
Writer: (setf sentry-user-id) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

id.

Reader: sentry-user-ip-address (instance)
Writer: (setf sentry-user-ip-address) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

ip-address.

Function: sentry-user-p (object)
Package

sentry-client.

Source

sentry-client.lisp.

Reader: sentry-user-username (instance)
Writer: (setf sentry-user-username) (instance)
Package

sentry-client.

Source

sentry-client.lisp.

Target Slot

username.

Function: split-lines (string)
Package

sentry-client.

Source

stacktrace.lisp.

Reader: stack-frame-context-line (instance)
Writer: (setf stack-frame-context-line) (instance)
Package

sentry-client.

Source

stacktrace.lisp.

Target Slot

context-line.

Reader: stack-frame-filename (instance)
Writer: (setf stack-frame-filename) (instance)
Package

sentry-client.

Source

stacktrace.lisp.

Target Slot

filename.

Reader: stack-frame-function (instance)
Writer: (setf stack-frame-function) (instance)
Package

sentry-client.

Source

stacktrace.lisp.

Target Slot

function.

Reader: stack-frame-line-number (instance)
Writer: (setf stack-frame-line-number) (instance)
Package

sentry-client.

Source

stacktrace.lisp.

Target Slot

line-number.

Function: stack-frame-p (object)
Package

sentry-client.

Source

stacktrace.lisp.

Reader: stack-frame-post-context (instance)
Writer: (setf stack-frame-post-context) (instance)
Package

sentry-client.

Source

stacktrace.lisp.

Target Slot

post-context.

Reader: stack-frame-pre-context (instance)
Writer: (setf stack-frame-pre-context) (instance)
Package

sentry-client.

Source

stacktrace.lisp.

Target Slot

pre-context.

Function: stack-frame-to-json-object (stack-frame)
Package

sentry-client.

Source

stacktrace.lisp.

Reader: stack-frame-vars (instance)
Writer: (setf stack-frame-vars) (instance)
Package

sentry-client.

Source

stacktrace.lisp.

Target Slot

vars.


5.2.4 Generic functions

Generic Function: client-capture-exception (sentry-client condition &key extras user transaction)
Package

sentry-client.

Methods
Method: client-capture-exception ((sentry-client sentry-client) condition &key extras user transaction)

Send CONDITION to Sentry.

EXTRAS: an association list with extra app specific information to encode in the Sentry event.

Source

sentry-client.lisp.

Generic Function: condition-severity-level (condition)

The condition severity level (warning, error, etc)

Package

sentry-client.

Source

sentry-client.lisp.

Methods
Method: condition-severity-level ((condition error))
Method: condition-severity-level ((condition warning))
Method: condition-severity-level ((condition condition))
Generic Reader: connection-timeout (object)
Package

sentry-client.

Methods
Reader Method: connection-timeout ((sentry-client sentry-client))

automatically generated reader method

Source

sentry-client.lisp.

Target Slot

connection-timeout.

Generic Writer: (setf connection-timeout) (object)
Package

sentry-client.

Methods
Writer Method: (setf connection-timeout) ((sentry-client sentry-client))

automatically generated writer method

Source

sentry-client.lisp.

Target Slot

connection-timeout.

Generic Reader: dsn (object)
Package

sentry-client.

Methods
Reader Method: dsn ((sentry-client sentry-client))

automatically generated reader method

Source

sentry-client.lisp.

Target Slot

dsn.

Generic Writer: (setf dsn) (object)
Package

sentry-client.

Methods
Writer Method: (setf dsn) ((sentry-client sentry-client))

automatically generated writer method

Source

sentry-client.lisp.

Target Slot

dsn.

Generic Reader: gzip-compression-p (object)
Package

sentry-client.

Methods
Reader Method: gzip-compression-p ((sentry-client sentry-client))

automatically generated reader method

Source

sentry-client.lisp.

Target Slot

gzip-compression.

Generic Writer: (setf gzip-compression-p) (object)
Package

sentry-client.

Methods
Writer Method: (setf gzip-compression-p) ((sentry-client sentry-client))

automatically generated writer method

Source

sentry-client.lisp.

Target Slot

gzip-compression.

Generic Reader: project-release (object)
Generic Writer: (setf project-release) (object)
Package

sentry-client.

Methods
Reader Method: project-release ((sentry-client sentry-client))
Writer Method: (setf project-release) ((sentry-client sentry-client))

The release version of the application.

Source

sentry-client.lisp.

Target Slot

release.

Generic Reader: running-environment (object)
Package

sentry-client.

Methods
Reader Method: running-environment ((sentry-client sentry-client))

automatically generated reader method

Source

sentry-client.lisp.

Target Slot

environment.

Generic Writer: (setf running-environment) (object)
Package

sentry-client.

Methods
Writer Method: (setf running-environment) ((sentry-client sentry-client))

automatically generated writer method

Source

sentry-client.lisp.

Target Slot

environment.

Generic Reader: sentry-transport (object)
Package

sentry-client.

Methods
Reader Method: sentry-transport ((sentry-client sentry-client))

automatically generated reader method

Source

sentry-client.lisp.

Target Slot

transport.

Generic Writer: (setf sentry-transport) (object)
Package

sentry-client.

Methods
Writer Method: (setf sentry-transport) ((sentry-client sentry-client))

automatically generated writer method

Source

sentry-client.lisp.

Target Slot

transport.

Generic Reader: server-name (object)
Generic Writer: (setf server-name) (object)
Package

sentry-client.

Methods
Reader Method: server-name ((sentry-client sentry-client))
Writer Method: (setf server-name) ((sentry-client sentry-client))

Identifies the host from which the event was recorded.

Source

sentry-client.lisp.

Target Slot

server-name.


5.2.5 Structures

Structure: buffer
Package

sentry-client.

Source

stacktrace.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: content
Readers

buffer-content.

Writers

(setf buffer-content).

Slot: position
Package

common-lisp.

Initform

0

Readers

buffer-position.

Writers

(setf buffer-position).

Structure: geo-location

Approximate geographical location of the end user or device.

See: https://develop.sentry.dev/sdk/event-payloads/user/

Package

sentry-client.

Source

sentry-client.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: city
Type

string

Readers

geo-location-city.

Writers

(setf geo-location-city).

Slot: country-code
Type

string

Readers

geo-location-country-code.

Writers

(setf geo-location-country-code).

Slot: region
Type

string

Readers

geo-location-region.

Writers

(setf geo-location-region).

Structure: sentry-request-headers
Package

sentry-client.

Source

sentry-client.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: accept
Type

string

Readers

sentry-request-headers-accept.

Writers

(setf sentry-request-headers-accept).

Slot: host
Type

string

Readers

sentry-request-headers-host.

Writers

(setf sentry-request-headers-host).

Slot: user-agent
Type

string

Readers

sentry-request-headers-user-agent.

Writers

(setf sentry-request-headers-user-agent).

Structure: stack-frame
Package

sentry-client.

Source

stacktrace.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: filename
Readers

stack-frame-filename.

Writers

(setf stack-frame-filename).

Slot: function
Package

common-lisp.

Readers

stack-frame-function.

Writers

(setf stack-frame-function).

Slot: pre-context
Readers

stack-frame-pre-context.

Writers

(setf stack-frame-pre-context).

Slot: context-line
Readers

stack-frame-context-line.

Writers

(setf stack-frame-context-line).

Slot: post-context
Readers

stack-frame-post-context.

Writers

(setf stack-frame-post-context).

Slot: line-number
Readers

stack-frame-line-number.

Writers

(setf stack-frame-line-number).

Slot: vars
Readers

stack-frame-vars.

Writers

(setf stack-frame-vars).


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   (  
B   C   D   E   F   G   I   L   M   P   R   S   T   W  
Index Entry  Section

(
(setf buffer-content): Private ordinary functions
(setf buffer-position): Private ordinary functions
(setf connection-timeout): Private generic functions
(setf connection-timeout): Private generic functions
(setf dsn): Private generic functions
(setf dsn): Private generic functions
(setf geo-location-city): Private ordinary functions
(setf geo-location-country-code): Private ordinary functions
(setf geo-location-region): Private ordinary functions
(setf gzip-compression-p): Private generic functions
(setf gzip-compression-p): Private generic functions
(setf project-release): Private generic functions
(setf project-release): Private generic functions
(setf running-environment): Private generic functions
(setf running-environment): Private generic functions
(setf sentry-request-headers): Private ordinary functions
(setf sentry-request-headers-accept): Private ordinary functions
(setf sentry-request-headers-host): Private ordinary functions
(setf sentry-request-headers-user-agent): Private ordinary functions
(setf sentry-request-method): Private ordinary functions
(setf sentry-request-url): Private ordinary functions
(setf sentry-transport): Private generic functions
(setf sentry-transport): Private generic functions
(setf sentry-user-email): Private ordinary functions
(setf sentry-user-extras): Private ordinary functions
(setf sentry-user-geo): Private ordinary functions
(setf sentry-user-id): Private ordinary functions
(setf sentry-user-ip-address): Private ordinary functions
(setf sentry-user-username): Private ordinary functions
(setf server-name): Private generic functions
(setf server-name): Private generic functions
(setf stack-frame-context-line): Private ordinary functions
(setf stack-frame-filename): Private ordinary functions
(setf stack-frame-function): Private ordinary functions
(setf stack-frame-line-number): Private ordinary functions
(setf stack-frame-post-context): Private ordinary functions
(setf stack-frame-pre-context): Private ordinary functions
(setf stack-frame-vars): Private ordinary functions

B
buffer-content: Private ordinary functions
buffer-p: Private ordinary functions
buffer-position: Private ordinary functions

C
call-with-sentry-client: Private ordinary functions
capture-exception: Public ordinary functions
client-capture-exception: Private generic functions
client-capture-exception: Private generic functions
collect-stacktrace: Private ordinary functions
condition-severity-level: Private generic functions
condition-severity-level: Private generic functions
condition-severity-level: Private generic functions
condition-severity-level: Private generic functions
connection-timeout: Private generic functions
connection-timeout: Private generic functions
copy-buffer: Private ordinary functions
copy-geo-location: Private ordinary functions
copy-sentry-request: Private ordinary functions
copy-sentry-request-headers: Private ordinary functions
copy-sentry-user: Private ordinary functions
copy-stack-frame: Private ordinary functions
current-line-number: Private ordinary functions

D
dsn: Private generic functions
dsn: Private generic functions

E
encode-core-event-attributes: Private ordinary functions
encode-exception: Private ordinary functions
encode-exception-event: Private ordinary functions
encode-sbcl-stacktrace: Private ordinary functions
encode-sentry-auth-header: Private ordinary functions
encode-stacktrace: Private ordinary functions

F
format-sentry-timestamp: Private ordinary functions
Function, (setf buffer-content): Private ordinary functions
Function, (setf buffer-position): Private ordinary functions
Function, (setf geo-location-city): Private ordinary functions
Function, (setf geo-location-country-code): Private ordinary functions
Function, (setf geo-location-region): Private ordinary functions
Function, (setf sentry-request-headers): Private ordinary functions
Function, (setf sentry-request-headers-accept): Private ordinary functions
Function, (setf sentry-request-headers-host): Private ordinary functions
Function, (setf sentry-request-headers-user-agent): Private ordinary functions
Function, (setf sentry-request-method): Private ordinary functions
Function, (setf sentry-request-url): Private ordinary functions
Function, (setf sentry-user-email): Private ordinary functions
Function, (setf sentry-user-extras): Private ordinary functions
Function, (setf sentry-user-geo): Private ordinary functions
Function, (setf sentry-user-id): Private ordinary functions
Function, (setf sentry-user-ip-address): Private ordinary functions
Function, (setf sentry-user-username): Private ordinary functions
Function, (setf stack-frame-context-line): Private ordinary functions
Function, (setf stack-frame-filename): Private ordinary functions
Function, (setf stack-frame-function): Private ordinary functions
Function, (setf stack-frame-line-number): Private ordinary functions
Function, (setf stack-frame-post-context): Private ordinary functions
Function, (setf stack-frame-pre-context): Private ordinary functions
Function, (setf stack-frame-vars): Private ordinary functions
Function, buffer-content: Private ordinary functions
Function, buffer-p: Private ordinary functions
Function, buffer-position: Private ordinary functions
Function, call-with-sentry-client: Private ordinary functions
Function, capture-exception: Public ordinary functions
Function, collect-stacktrace: Private ordinary functions
Function, copy-buffer: Private ordinary functions
Function, copy-geo-location: Private ordinary functions
Function, copy-sentry-request: Private ordinary functions
Function, copy-sentry-request-headers: Private ordinary functions
Function, copy-sentry-user: Private ordinary functions
Function, copy-stack-frame: Private ordinary functions
Function, current-line-number: Private ordinary functions
Function, encode-core-event-attributes: Private ordinary functions
Function, encode-exception: Private ordinary functions
Function, encode-exception-event: Private ordinary functions
Function, encode-sbcl-stacktrace: Private ordinary functions
Function, encode-sentry-auth-header: Private ordinary functions
Function, encode-stacktrace: Private ordinary functions
Function, format-sentry-timestamp: Private ordinary functions
Function, geo-location-city: Private ordinary functions
Function, geo-location-country-code: Private ordinary functions
Function, geo-location-p: Private ordinary functions
Function, geo-location-region: Private ordinary functions
Function, get-beginning-of-line-pos: Private ordinary functions
Function, get-end-of-line-pos: Private ordinary functions
Function, get-frame-function: Private ordinary functions
Function, get-frame-vars: Private ordinary functions
Function, get-next-line-position: Private ordinary functions
Function, get-post-lines: Private ordinary functions
Function, get-pre-lines: Private ordinary functions
Function, get-previous-line-position: Private ordinary functions
Function, get-source-contexts: Private ordinary functions
Function, get-source-location-filename: Private ordinary functions
Function, initialize-sentry-client: Public ordinary functions
Function, line-string: Private ordinary functions
Function, load-location-buffer: Private ordinary functions
Function, make-buffer: Private ordinary functions
Function, make-geo-location: Private ordinary functions
Function, make-sentry-client: Private ordinary functions
Function, make-sentry-event-id: Private ordinary functions
Function, make-sentry-request: Public ordinary functions
Function, make-sentry-request-headers: Public ordinary functions
Function, make-sentry-user: Public ordinary functions
Function, make-stack-frame: Private ordinary functions
Function, move-to-position: Private ordinary functions
Function, parse-dsn: Private ordinary functions
Function, post-sentry-request: Private ordinary functions
Function, read-dsn: Private ordinary functions
Function, sentry-api-url: Private ordinary functions
Function, sentry-request-headers: Private ordinary functions
Function, sentry-request-headers-accept: Private ordinary functions
Function, sentry-request-headers-host: Private ordinary functions
Function, sentry-request-headers-p: Private ordinary functions
Function, sentry-request-headers-user-agent: Private ordinary functions
Function, sentry-request-method: Private ordinary functions
Function, sentry-request-p: Private ordinary functions
Function, sentry-request-url: Private ordinary functions
Function, sentry-user-email: Private ordinary functions
Function, sentry-user-extras: Private ordinary functions
Function, sentry-user-geo: Private ordinary functions
Function, sentry-user-id: Private ordinary functions
Function, sentry-user-ip-address: Private ordinary functions
Function, sentry-user-p: Private ordinary functions
Function, sentry-user-username: Private ordinary functions
Function, split-lines: Private ordinary functions
Function, stack-frame-context-line: Private ordinary functions
Function, stack-frame-filename: Private ordinary functions
Function, stack-frame-function: Private ordinary functions
Function, stack-frame-line-number: Private ordinary functions
Function, stack-frame-p: Private ordinary functions
Function, stack-frame-post-context: Private ordinary functions
Function, stack-frame-pre-context: Private ordinary functions
Function, stack-frame-to-json-object: Private ordinary functions
Function, stack-frame-vars: Private ordinary functions
Function, test-sentry-client: Public ordinary functions

G
Generic Function, (setf connection-timeout): Private generic functions
Generic Function, (setf dsn): Private generic functions
Generic Function, (setf gzip-compression-p): Private generic functions
Generic Function, (setf project-release): Private generic functions
Generic Function, (setf running-environment): Private generic functions
Generic Function, (setf sentry-transport): Private generic functions
Generic Function, (setf server-name): Private generic functions
Generic Function, client-capture-exception: Private generic functions
Generic Function, condition-severity-level: Private generic functions
Generic Function, connection-timeout: Private generic functions
Generic Function, dsn: Private generic functions
Generic Function, gzip-compression-p: Private generic functions
Generic Function, project-release: Private generic functions
Generic Function, running-environment: Private generic functions
Generic Function, sentry-tags: Public generic functions
Generic Function, sentry-transport: Private generic functions
Generic Function, server-name: Private generic functions
geo-location-city: Private ordinary functions
geo-location-country-code: Private ordinary functions
geo-location-p: Private ordinary functions
geo-location-region: Private ordinary functions
get-beginning-of-line-pos: Private ordinary functions
get-end-of-line-pos: Private ordinary functions
get-frame-function: Private ordinary functions
get-frame-vars: Private ordinary functions
get-next-line-position: Private ordinary functions
get-post-lines: Private ordinary functions
get-pre-lines: Private ordinary functions
get-previous-line-position: Private ordinary functions
get-source-contexts: Private ordinary functions
get-source-location-filename: Private ordinary functions
gzip-compression-p: Private generic functions
gzip-compression-p: Private generic functions

I
initialize-instance: Public standalone methods
initialize-sentry-client: Public ordinary functions

L
line-string: Private ordinary functions
load-location-buffer: Private ordinary functions

M
Macro, with-sentry-client: Private macros
Macro, with-sentry-error-handler: Public macros
make-buffer: Private ordinary functions
make-geo-location: Private ordinary functions
make-sentry-client: Private ordinary functions
make-sentry-event-id: Private ordinary functions
make-sentry-request: Public ordinary functions
make-sentry-request-headers: Public ordinary functions
make-sentry-user: Public ordinary functions
make-stack-frame: Private ordinary functions
Method, (setf connection-timeout): Private generic functions
Method, (setf dsn): Private generic functions
Method, (setf gzip-compression-p): Private generic functions
Method, (setf project-release): Private generic functions
Method, (setf running-environment): Private generic functions
Method, (setf sentry-transport): Private generic functions
Method, (setf server-name): Private generic functions
Method, client-capture-exception: Private generic functions
Method, condition-severity-level: Private generic functions
Method, condition-severity-level: Private generic functions
Method, condition-severity-level: Private generic functions
Method, connection-timeout: Private generic functions
Method, dsn: Private generic functions
Method, gzip-compression-p: Private generic functions
Method, initialize-instance: Public standalone methods
Method, project-release: Private generic functions
Method, running-environment: Private generic functions
Method, sentry-tags: Public generic functions
Method, sentry-transport: Private generic functions
Method, server-name: Private generic functions
move-to-position: Private ordinary functions

P
parse-dsn: Private ordinary functions
post-sentry-request: Private ordinary functions
project-release: Private generic functions
project-release: Private generic functions

R
read-dsn: Private ordinary functions
running-environment: Private generic functions
running-environment: Private generic functions

S
sentry-api-url: Private ordinary functions
sentry-request-headers: Private ordinary functions
sentry-request-headers-accept: Private ordinary functions
sentry-request-headers-host: Private ordinary functions
sentry-request-headers-p: Private ordinary functions
sentry-request-headers-user-agent: Private ordinary functions
sentry-request-method: Private ordinary functions
sentry-request-p: Private ordinary functions
sentry-request-url: Private ordinary functions
sentry-tags: Public generic functions
sentry-tags: Public generic functions
sentry-transport: Private generic functions
sentry-transport: Private generic functions
sentry-user-email: Private ordinary functions
sentry-user-extras: Private ordinary functions
sentry-user-geo: Private ordinary functions
sentry-user-id: Private ordinary functions
sentry-user-ip-address: Private ordinary functions
sentry-user-p: Private ordinary functions
sentry-user-username: Private ordinary functions
server-name: Private generic functions
server-name: Private generic functions
split-lines: Private ordinary functions
stack-frame-context-line: Private ordinary functions
stack-frame-filename: Private ordinary functions
stack-frame-function: Private ordinary functions
stack-frame-line-number: Private ordinary functions
stack-frame-p: Private ordinary functions
stack-frame-post-context: Private ordinary functions
stack-frame-pre-context: Private ordinary functions
stack-frame-to-json-object: Private ordinary functions
stack-frame-vars: Private ordinary functions

T
test-sentry-client: Public ordinary functions

W
with-sentry-client: Private macros
with-sentry-error-handler: Public macros


A.3 Variables

Jump to:   *   +  
A   C   D   E   F   G   H   I   L   M   P   R   S   T   U   V  
Index Entry  Section

*
*request*: Public special variables
*sentry-client*: Public special variables

+
+dsn-regex+: Private special variables
+sentry-timestamp-format+: Private special variables

A
accept: Private structures

C
city: Private structures
connection-timeout: Public classes
content: Private structures
context-line: Private structures
country-code: Private structures

D
dsn: Public classes

E
email: Public structures
environment: Public classes
extras: Public structures

F
filename: Private structures
function: Private structures

G
geo: Public structures
gzip-compression: Public classes

H
headers: Public structures
host: Private structures

I
id: Public structures
ip-address: Public structures

L
line-number: Private structures

M
method: Public structures

P
position: Private structures
post-context: Private structures
pre-context: Private structures

R
region: Private structures
release: Public classes

S
server-name: Public classes
Slot, accept: Private structures
Slot, city: Private structures
Slot, connection-timeout: Public classes
Slot, content: Private structures
Slot, context-line: Private structures
Slot, country-code: Private structures
Slot, dsn: Public classes
Slot, email: Public structures
Slot, environment: Public classes
Slot, extras: Public structures
Slot, filename: Private structures
Slot, function: Private structures
Slot, geo: Public structures
Slot, gzip-compression: Public classes
Slot, headers: Public structures
Slot, host: Private structures
Slot, id: Public structures
Slot, ip-address: Public structures
Slot, line-number: Private structures
Slot, method: Public structures
Slot, position: Private structures
Slot, post-context: Private structures
Slot, pre-context: Private structures
Slot, region: Private structures
Slot, release: Public classes
Slot, server-name: Public classes
Slot, transport: Public classes
Slot, url: Public structures
Slot, user-agent: Private structures
Slot, username: Public structures
Slot, vars: Private structures
Special Variable, *request*: Public special variables
Special Variable, *sentry-client*: Public special variables
Special Variable, +dsn-regex+: Private special variables
Special Variable, +sentry-timestamp-format+: Private special variables

T
transport: Public classes

U
url: Public structures
user-agent: Private structures
username: Public structures

V
vars: Private structures