const isErrored = <I>(obj: ResultType<I, O>): obj is ErrorResponse<I> =>
    "error" in obj && isErrors(obj.error);