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