repositories
/
e-mobility-charging-stations-simulator.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
test: migrate ocpp server to poetry to ease usage
[e-mobility-charging-stations-simulator.git]
/
src
/
exception
/
BaseError.ts
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
export class BaseError extends Error {
2
public date: Date
3
4
public constructor (message?: string) {
5
super(message)
6
this.name = new.target.name
7
this.date = new Date()
8
Object.setPrototypeOf(this, new.target.prototype)
9
}
10
}