class Deno.errors.BadResourceextends Error The underlying IO resource is invalid or closed, and so the operation could not be performed.