module worldsibu export class InvalidIdError extends Error { public static test ( id ) { if ( ! id ) { throw new InvalidIdError ( ) ; } } public name = 'InvalidIdError' ; public message = 'Invalid or missing id. You either provided an invalid ID or did not sent one' ; } export class IdNotFoundError extends Error { public static test ( content ) { if ( content === undefined || content === null ) { throw new IdNotFoundError ( ) ; } } public name = 'IdNotFoundError' ; public message = 'ID not found. The ID you were using was not found in the storage' ; }