import { Range } from '@directus/drive' ; import { BaseException } from '@directus/shared/exceptions' ; export class RangeNotSatisfiableException extends BaseException { constructor ( range ) { super ( `Range "${ range . start }-${ range . end }" is invalid or the file's size doesn't match the requested range.` , 416 , 'RANGE_NOT_SATISFIABLE' ) ; } }