Interface SentryPayload

interface SentryPayload {
    contentOrError: string | Error;
    contexts?: Record<string, any>;
    extra?: Record<string, any>;
    tags?: Record<string, any>;
    user?: {
        email?: string;
        geo?: {
            city?: string;
            country_code?: string;
            region?: string;
        };
        id?: string | number;
        ip_address?: string;
        username?: string;
        [key: string]: any;
    };
}

Properties

contentOrError: string | Error
contexts?: Record<string, any>
extra?: Record<string, any>
tags?: Record<string, any>
user?: {
    email?: string;
    geo?: {
        city?: string;
        country_code?: string;
        region?: string;
    };
    id?: string | number;
    ip_address?: string;
    username?: string;
    [key: string]: any;
}

Type declaration

  • [key: string]: any
  • Optional email?: string
  • Optional geo?: {
        city?: string;
        country_code?: string;
        region?: string;
    }
    • Optional city?: string
    • Optional country_code?: string
    • Optional region?: string
  • Optional id?: string | number
  • Optional ip_address?: string
  • Optional username?: string

Generated using TypeDoc