import { localize } from './localize' ; export class NoWorkspaceError extends Error { public message : string = localize ( 'noWorkspaceError' , 'You must have a workspace open to perform this operation.' ) ; } export class NotImplementedError extends Error { constructor ( methodName , obj ) { super ( `Internal Error: "${ methodName }" is not implemented on "${ obj . constructor . name }".` ) ; } }