Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tsdotnet/exceptions

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsdotnet/exceptions - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

3

dist/ArgumentNullException.d.ts

@@ -7,6 +7,5 @@ /*!

import ArgumentException from './ArgumentException';
export declare class ArgumentNullException extends ArgumentException {
export default class ArgumentNullException extends ArgumentException {
constructor(paramName: string, message?: string, innerException?: any);
protected getName(): string;
}
export default ArgumentNullException;

@@ -8,3 +8,3 @@ /*!

const NAME = 'ArgumentNullException';
export class ArgumentNullException extends ArgumentException {
export default class ArgumentNullException extends ArgumentException {
constructor(paramName, message = (paramName || 'Argument ') + 'is null (or undefined).', innerException) {

@@ -17,3 +17,2 @@ super(paramName, message, innerException);

}
export default ArgumentNullException;
//# sourceMappingURL=ArgumentNullException.js.map

@@ -8,3 +8,3 @@ /*!

declare type Primitive = string | number | boolean;
export declare class ArgumentOutOfRangeException extends ArgumentException {
export default class ArgumentOutOfRangeException extends ArgumentException {
readonly actualValue: Primitive | null | undefined;

@@ -14,2 +14,2 @@ constructor(paramName: string, actualValue: Primitive | null | undefined, message?: string, innerException?: Error);

}
export default ArgumentOutOfRangeException;
export {};

@@ -8,3 +8,3 @@ /*!

const NAME = 'ArgumentOutOfRangeException';
export class ArgumentOutOfRangeException extends ArgumentException {
export default class ArgumentOutOfRangeException extends ArgumentException {
constructor(paramName, actualValue, message = ' ', innerException) {

@@ -18,3 +18,2 @@ super(paramName, `(${actualValue}) ` + message, innerException);

}
export default ArgumentOutOfRangeException;
//# sourceMappingURL=ArgumentOutOfRangeException.js.map

@@ -7,5 +7,4 @@ /*!

import SystemException from './SystemException';
export declare class InvalidOperationException extends SystemException {
export default class InvalidOperationException extends SystemException {
protected getName(): string;
}
export default InvalidOperationException;

@@ -8,3 +8,3 @@ /*!

const NAME = 'InvalidOperationException';
export class InvalidOperationException extends SystemException {
export default class InvalidOperationException extends SystemException {
getName() {

@@ -14,3 +14,2 @@ return NAME;

}
export default InvalidOperationException;
//# sourceMappingURL=InvalidOperationException.js.map

@@ -7,5 +7,4 @@ /*!

import SystemException from './SystemException';
export declare class NotImplementedException extends SystemException {
export default class NotImplementedException extends SystemException {
protected getName(): string;
}
export default NotImplementedException;

@@ -8,3 +8,3 @@ /*!

const NAME = 'NotImplementedException';
export class NotImplementedException extends SystemException {
export default class NotImplementedException extends SystemException {
getName() {

@@ -14,3 +14,2 @@ return NAME;

}
export default NotImplementedException;
//# sourceMappingURL=NotImplementedException.js.map
{
"name": "@tsdotnet/exceptions",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -5,0 +5,0 @@ "author": "electricessence",

import Exception from '../src/Exception';
import ArgumentException from '../src/ArgumentException';
const message = 'Test';
// test import and compilation.
new ArgumentException('x', message);
describe('Error', () => {

@@ -6,0 +10,0 @@ it('instanceof should work', () => {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc