Help us shape the future of Go! Take the 2026 Go Developer Survey

dberrors

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUniqueConstraint = &UniqueConstraintError{s: ""}

ErrUniqueConstraint captures all unique constraint errors by explicitly leaving `s` empty.

View Source
var FieldseekerContainerrelateErrors = &fieldseekerContainerrelateErrors{
	ErrUniqueContainerrelatePkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "containerrelate",
		columns: []string{"objectid", "version"},
		s:       "containerrelate_pkey",
	},
}
View Source
var FieldseekerFieldscoutinglogErrors = &fieldseekerFieldscoutinglogErrors{
	ErrUniqueFieldscoutinglogPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "fieldscoutinglog",
		columns: []string{"objectid", "version"},
		s:       "fieldscoutinglog_pkey",
	},
}
View Source
var FieldseekerHabitatrelateErrors = &fieldseekerHabitatrelateErrors{
	ErrUniqueHabitatrelatePkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "habitatrelate",
		columns: []string{"objectid", "version"},
		s:       "habitatrelate_pkey",
	},
}
View Source
var FieldseekerInspectionsampleErrors = &fieldseekerInspectionsampleErrors{
	ErrUniqueInspectionsamplePkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "inspectionsample",
		columns: []string{"objectid", "version"},
		s:       "inspectionsample_pkey",
	},
}
View Source
var FieldseekerInspectionsampledetailErrors = &fieldseekerInspectionsampledetailErrors{
	ErrUniqueInspectionsampledetailPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "inspectionsampledetail",
		columns: []string{"objectid", "version"},
		s:       "inspectionsampledetail_pkey",
	},
}
View Source
var FieldseekerLinelocationErrors = &fieldseekerLinelocationErrors{
	ErrUniqueLinelocationPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "linelocation",
		columns: []string{"objectid", "version"},
		s:       "linelocation_pkey",
	},
}
View Source
var FieldseekerLocationtrackingErrors = &fieldseekerLocationtrackingErrors{
	ErrUniqueLocationtrackingPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "locationtracking",
		columns: []string{"objectid", "version"},
		s:       "locationtracking_pkey",
	},
}
View Source
var FieldseekerMosquitoinspectionErrors = &fieldseekerMosquitoinspectionErrors{
	ErrUniqueMosquitoinspectionPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "mosquitoinspection",
		columns: []string{"objectid", "version"},
		s:       "mosquitoinspection_pkey",
	},
}
View Source
var FieldseekerPointlocationErrors = &fieldseekerPointlocationErrors{
	ErrUniquePointlocationPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "pointlocation",
		columns: []string{"objectid", "version"},
		s:       "pointlocation_pkey",
	},
}
View Source
var FieldseekerPolygonlocationErrors = &fieldseekerPolygonlocationErrors{
	ErrUniquePolygonlocationPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "polygonlocation",
		columns: []string{"objectid", "version"},
		s:       "polygonlocation_pkey",
	},
}
View Source
var FieldseekerPoolErrors = &fieldseekerPoolErrors{
	ErrUniquePoolPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "pool",
		columns: []string{"objectid", "version"},
		s:       "pool_pkey",
	},
}
View Source
var FieldseekerPooldetailErrors = &fieldseekerPooldetailErrors{
	ErrUniquePooldetailPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "pooldetail",
		columns: []string{"objectid", "version"},
		s:       "pooldetail_pkey",
	},
}
View Source
var FieldseekerProposedtreatmentareaErrors = &fieldseekerProposedtreatmentareaErrors{
	ErrUniqueProposedtreatmentareaPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "proposedtreatmentarea",
		columns: []string{"objectid", "version"},
		s:       "proposedtreatmentarea_pkey",
	},
}
View Source
var FieldseekerQamosquitoinspectionErrors = &fieldseekerQamosquitoinspectionErrors{
	ErrUniqueQamosquitoinspectionPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "qamosquitoinspection",
		columns: []string{"objectid", "version"},
		s:       "qamosquitoinspection_pkey",
	},
}
View Source
var FieldseekerRodentlocationErrors = &fieldseekerRodentlocationErrors{
	ErrUniqueRodentlocationPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "rodentlocation",
		columns: []string{"objectid", "version"},
		s:       "rodentlocation_pkey",
	},
}
View Source
var FieldseekerSamplecollectionErrors = &fieldseekerSamplecollectionErrors{
	ErrUniqueSamplecollectionPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "samplecollection",
		columns: []string{"objectid", "version"},
		s:       "samplecollection_pkey",
	},
}
View Source
var FieldseekerSamplelocationErrors = &fieldseekerSamplelocationErrors{
	ErrUniqueSamplelocationPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "samplelocation",
		columns: []string{"objectid", "version"},
		s:       "samplelocation_pkey",
	},
}
View Source
var FieldseekerServicerequestErrors = &fieldseekerServicerequestErrors{
	ErrUniqueServicerequestPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "servicerequest",
		columns: []string{"objectid", "version"},
		s:       "servicerequest_pkey",
	},
}
View Source
var FieldseekerSpeciesabundanceErrors = &fieldseekerSpeciesabundanceErrors{
	ErrUniqueSpeciesabundancePkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "speciesabundance",
		columns: []string{"objectid", "version"},
		s:       "speciesabundance_pkey",
	},
}
View Source
var FieldseekerStormdrainErrors = &fieldseekerStormdrainErrors{
	ErrUniqueStormdrainPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "stormdrain",
		columns: []string{"objectid", "version"},
		s:       "stormdrain_pkey",
	},
}
View Source
var FieldseekerSyncErrors = &fieldseekerSyncErrors{
	ErrUniqueFieldseekerSyncPkey: &UniqueConstraintError{
		schema:  "",
		table:   "fieldseeker_sync",
		columns: []string{"id"},
		s:       "fieldseeker_sync_pkey",
	},
}
View Source
var FieldseekerTimecardErrors = &fieldseekerTimecardErrors{
	ErrUniqueTimecardPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "timecard",
		columns: []string{"objectid", "version"},
		s:       "timecard_pkey",
	},
}
View Source
var FieldseekerTrapdatumErrors = &fieldseekerTrapdatumErrors{
	ErrUniqueTrapdataPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "trapdata",
		columns: []string{"objectid", "version"},
		s:       "trapdata_pkey",
	},
}
View Source
var FieldseekerTraplocationErrors = &fieldseekerTraplocationErrors{
	ErrUniqueTraplocationPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "traplocation",
		columns: []string{"objectid", "version"},
		s:       "traplocation_pkey",
	},
}
View Source
var FieldseekerTreatmentErrors = &fieldseekerTreatmentErrors{
	ErrUniqueTreatmentPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "treatment",
		columns: []string{"objectid", "version"},
		s:       "treatment_pkey",
	},
}
View Source
var FieldseekerTreatmentareaErrors = &fieldseekerTreatmentareaErrors{
	ErrUniqueTreatmentareaPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "treatmentarea",
		columns: []string{"objectid", "version"},
		s:       "treatmentarea_pkey",
	},
}
View Source
var FieldseekerZoneErrors = &fieldseekerZoneErrors{
	ErrUniqueZonesPkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "zones",
		columns: []string{"objectid", "version"},
		s:       "zones_pkey",
	},
}
View Source
var FieldseekerZones2Errors = &fieldseekerZones2Errors{
	ErrUniqueZones2Pkey: &UniqueConstraintError{
		schema:  "fieldseeker",
		table:   "zones2",
		columns: []string{"objectid", "version"},
		s:       "zones2_pkey",
	},
}
View Source
var GooseDBVersionErrors = &gooseDBVersionErrors{
	ErrUniqueGooseDbVersionPkey: &UniqueConstraintError{
		schema:  "",
		table:   "goose_db_version",
		columns: []string{"id"},
		s:       "goose_db_version_pkey",
	},
}
View Source
var H3AggregationErrors = &h3AggregationErrors{
	ErrUniqueH3AggregationPkey: &UniqueConstraintError{
		schema:  "",
		table:   "h3_aggregation",
		columns: []string{"id"},
		s:       "h3_aggregation_pkey",
	},

	ErrUniqueH3AggregationCellOrganizationIdType_Key: &UniqueConstraintError{
		schema:  "",
		table:   "h3_aggregation",
		columns: []string{"cell", "organization_id", "type_"},
		s:       "h3_aggregation_cell_organization_id_type__key",
	},
}
View Source
var NoteAudioBreadcrumbErrors = &noteAudioBreadcrumbErrors{
	ErrUniqueNoteAudioBreadcrumbPkey: &UniqueConstraintError{
		schema:  "",
		table:   "note_audio_breadcrumb",
		columns: []string{"note_audio_version", "note_audio_uuid", "position"},
		s:       "note_audio_breadcrumb_pkey",
	},
}
View Source
var NoteAudioDatumErrors = &noteAudioDatumErrors{
	ErrUniqueNoteAudioDataPkey: &UniqueConstraintError{
		schema:  "",
		table:   "note_audio_data",
		columns: []string{"note_audio_version", "note_audio_uuid", "type_"},
		s:       "note_audio_data_pkey",
	},
}
View Source
var NoteAudioErrors = &noteAudioErrors{
	ErrUniqueNoteAudioPkey: &UniqueConstraintError{
		schema:  "",
		table:   "note_audio",
		columns: []string{"version", "uuid"},
		s:       "note_audio_pkey",
	},
}
View Source
var NoteImageBreadcrumbErrors = &noteImageBreadcrumbErrors{
	ErrUniqueNoteImageBreadcrumbPkey: &UniqueConstraintError{
		schema:  "",
		table:   "note_image_breadcrumb",
		columns: []string{"note_image_version", "note_image_uuid", "position"},
		s:       "note_image_breadcrumb_pkey",
	},
}
View Source
var NoteImageDatumErrors = &noteImageDatumErrors{
	ErrUniqueNoteImageDataPkey: &UniqueConstraintError{
		schema:  "",
		table:   "note_image_data",
		columns: []string{"note_image_version", "note_image_uuid", "type_"},
		s:       "note_image_data_pkey",
	},
}
View Source
var NoteImageErrors = &noteImageErrors{
	ErrUniqueNoteImagePkey: &UniqueConstraintError{
		schema:  "",
		table:   "note_image",
		columns: []string{"version", "uuid"},
		s:       "note_image_pkey",
	},
}
View Source
var NotificationErrors = &notificationErrors{
	ErrUniqueNotificationPkey: &UniqueConstraintError{
		schema:  "",
		table:   "notification",
		columns: []string{"id"},
		s:       "notification_pkey",
	},
}
View Source
var OauthTokenErrors = &oauthTokenErrors{
	ErrUniqueOauthTokenPkey: &UniqueConstraintError{
		schema:  "",
		table:   "oauth_token",
		columns: []string{"id"},
		s:       "oauth_token_pkey",
	},
}
View Source
var OrganizationErrors = &organizationErrors{
	ErrUniqueOrganizationPkey: &UniqueConstraintError{
		schema:  "",
		table:   "organization",
		columns: []string{"id"},
		s:       "organization_pkey",
	},
}
View Source
var SessionErrors = &sessionErrors{
	ErrUniqueSessionsPkey: &UniqueConstraintError{
		schema:  "",
		table:   "sessions",
		columns: []string{"token"},
		s:       "sessions_pkey",
	},
}
View Source
var SpatialRefSyErrors = &spatialRefSyErrors{
	ErrUniqueSpatialRefSysPkey: &UniqueConstraintError{
		schema:  "",
		table:   "spatial_ref_sys",
		columns: []string{"srid"},
		s:       "spatial_ref_sys_pkey",
	},
}
View Source
var UserErrors = &userErrors{
	ErrUniqueUser_Pkey: &UniqueConstraintError{
		schema:  "",
		table:   "user_",
		columns: []string{"id"},
		s:       "user__pkey",
	},
}

Functions

This section is empty.

Types

type UniqueConstraintError

type UniqueConstraintError struct {
	// contains filtered or unexported fields
}

func (*UniqueConstraintError) Error

func (e *UniqueConstraintError) Error() string

func (*UniqueConstraintError) Is

func (e *UniqueConstraintError) Is(target error) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL