export class LowDiskSpaceError extends Error { constructor ( public message = 'Not enough storage to save the record.' ) { super ( message ) ; Object . setPrototypeOf ( this , new . target . prototype ) ; } }