category export class InvalidEventError extends Error { constructor ( message = null ) { super ( message ) ; } } category export class EventRedactedError extends InvalidEventError { constructor ( message = null ) { super ( message ) ; } }