Init Commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class SingleTonInstanceError extends Error {
|
||||
constructor() {
|
||||
super('Instantiation of Static Functionality')
|
||||
}
|
||||
}
|
||||
|
||||
class AbstractClassInstantiation extends Error {
|
||||
constructor() {
|
||||
super('Abstract Class Cannot be Instantiated')
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = { SingleTonInstanceError, AbstractClassInstantiation }
|
||||
Reference in New Issue
Block a user