led-matrix-ts
Version:
Highly customizable led matrix for the browser
8 lines (7 loc) • 508 B
TypeScript
export declare class Exception {
static throwIfNull(value: any, valueDescription: ExceptionValueDescription): void;
static throwIfNegative(value: number, valueDescription: ExceptionValueDescription): void;
static throwIfNotBetween(value: number, valueDescription: ExceptionValueDescription, rangeFrom: number, rangeTo: number): void;
static getDescriptionForProperty(className: string, methodName: string): ExceptionValueDescription;
}
export declare type ExceptionValueDescription = string;