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