import HttpStatus from '@xpring-eng/http-status' ; import PayIDError from './payIdError' ; see https .
  export default class ContentTypeError extends PayIDError { public readonly kind : string ; param mediaType public constructor ( mediaType ) { const message = `A 'Content-Type' header is required for this request: 'Content-Type: ${ mediaType }'.` ; super ( message , HttpStatus . UnsupportedMediaType ) ; this . kind = 'UnsupportedMediaTypeHeader' ; } }