class HadronError extends Error { public error ? : Error ; constructor ( message = 'Hadron unhandled error' ) { super ( message ) ; this . stack = new Error ( ) . stack ; } } export default HadronError ;