class OutlineError extends Error { constructor ( message ) { super ( message ) ; Object . setPrototypeOf ( this , new . target . prototype ) ; } } export class InvalidPortNumber extends OutlineError { constructor ( public port ) { super ( port ) ; } } export class PortUnavailable extends OutlineError { constructor ( public port ) { super ( port . toString ( ) ) ; } } export class AccessKeyNotFound extends OutlineError { constructor ( accessKeyId ? ) { super ( `Access key "${ accessKeyId }" not found` ) ; } }