import { CustomError } from './custom.error' ; /**
 * Custom error type to handle API specific errors.
 */ export class APIError extends CustomError { constructor param message param innerError constructor ( message , public innerError ? ) { super ( 'APIError' , message , innerError ) ; } }