bungie-net-core
Version:
An easy way to interact with the Bungie.net API
16 lines (15 loc) • 456 B
TypeScript
import { PlatformErrorCodes } from '../models/Exceptions/PlatformErrorCodes';
/**
* A general interface for a Bungie API response
*/
export interface BungieNetResponse<R> {
readonly Response: R;
readonly ErrorCode: PlatformErrorCodes;
readonly ThrottleSeconds: number;
readonly ErrorStatus: string;
readonly Message: string;
readonly MessageData: {
[key: string]: string;
};
readonly DetailedErrorTrace: string;
}