mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-01-07 20:20:58 -06:00
26 lines
637 B
Dart
26 lines
637 B
Dart
import 'package:phylum/libphylum/db/db.dart';
|
|
|
|
typedef NameConflictResolution = int;
|
|
|
|
const NameConflictResolution nameConflictError = 0;
|
|
const NameConflictResolution nameConflictEnsure = 1;
|
|
const NameConflictResolution nameConflictRename = 2;
|
|
const NameConflictResolution nameConflictOverwrite = 3;
|
|
const NameConflictResolution nameConflictDelete = 4;
|
|
|
|
class NameConflictException {
|
|
final Resource resource;
|
|
|
|
const NameConflictException(this.resource);
|
|
}
|
|
|
|
class DestinationCycleException {
|
|
final Resource resource;
|
|
|
|
const DestinationCycleException(this.resource);
|
|
}
|
|
|
|
class PermissionException {
|
|
const PermissionException();
|
|
}
|