class Deno.errors.IsADirectory extends Error Raised when trying to open, create or write to a directory.