forked from geolba/tethys.backend
Arno Kaimbacher
c9ba7d6adc
- npm updates for webpack-encore and postcss-loader - DatasetExtension.ts: use relation contributors for PersonContributor - added DoiClient.ts and DoiClientContract.ts - rozes.ts: addes routes for creating and storing doi identifier - addes xslt doi_datacite.xslt needed for registering DOI identifier
12 lines
277 B
TypeScript
12 lines
277 B
TypeScript
class DoiClientException extends Error {
|
|
public status: number;
|
|
public message: string;
|
|
|
|
constructor(status: number, message: string) {
|
|
super(message);
|
|
this.status = status;
|
|
this.message = message;
|
|
}
|
|
}
|
|
|
|
export default DoiClientException; |