This API documentation is for Ballerina 1.2.0. View API documentation for the latest release.

Errors - filepath

  • FileNotFoundError Detail
  • Represents error occur when the file/directory does not exist at the given filepath.

  • GenericError Detail
  • Represents generic error for filepath

  • IOError Detail
  • Represents IO error occur when trying to access the file at the given filepath.

  • InvalidPathError Detail
  • Represents error occur when the given file path is invalid.

  • InvalidPatternError Detail
  • Represent error occur when the given pattern is not a valid filepath pattern.

  • NotLinkError Detail
  • Represents error occur when the file at the given filepath is not a symbolic link.

  • RelativePathError Detail
  • Represents an error that occurs when the given target filepath cannot be derived relative to the base filepath.

  • SecurityError Detail
  • Represents security error occur when trying to access the file at the given filepath.

  • UNCPathError Detail
  • Represents error occur in the UNC path.