Deno.errors.IsADirectoryRaised when trying to open, create or write to a directory. class IsADirectory extends Error { }§Extends§Error[src]