Documentation
¶
Index ¶
- type ClientIsNotConnected
- type CollectionNotEmpty
- type CollectionNotFound
- type DatabaseNotEmpty
- type DatabaseNotFound
- type DiagnosableError
- type DocumentNotFound
- type EJsonParseError
- type InconsistentDocument
- type IndexDeletionForbidden
- type IndexNotFound
- type InvalidImportID
- type InvalidInputValue
- type InvalidJSONDocument
- type InvalidResourceConfiguration
- type MongoClientError
- type UnexpectedError
- type UnexpectedResourceConfigurationType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientIsNotConnected ¶
type ClientIsNotConnected struct{}
func NewClientIsNotConnected ¶
func NewClientIsNotConnected() *ClientIsNotConnected
func (*ClientIsNotConnected) Error ¶
func (e *ClientIsNotConnected) Error() string
func (*ClientIsNotConnected) Name ¶
func (e *ClientIsNotConnected) Name() string
func (*ClientIsNotConnected) ToDiagnostic ¶
func (e *ClientIsNotConnected) ToDiagnostic() diag.Diagnostic
type CollectionNotEmpty ¶
type CollectionNotEmpty struct {
// contains filtered or unexported fields
}
func NewCollectionNotEmpty ¶
func NewCollectionNotEmpty(name string) *CollectionNotEmpty
func (*CollectionNotEmpty) Error ¶
func (e *CollectionNotEmpty) Error() string
func (*CollectionNotEmpty) Name ¶
func (e *CollectionNotEmpty) Name() string
func (*CollectionNotEmpty) ToDiagnostic ¶
func (e *CollectionNotEmpty) ToDiagnostic() diag.Diagnostic
type CollectionNotFound ¶
type CollectionNotFound struct {
// contains filtered or unexported fields
}
func NewCollectionNotFound ¶
func NewCollectionNotFound(name string) *CollectionNotFound
func (*CollectionNotFound) Error ¶
func (e *CollectionNotFound) Error() string
func (*CollectionNotFound) Name ¶
func (e *CollectionNotFound) Name() string
func (*CollectionNotFound) ToDiagnostic ¶
func (e *CollectionNotFound) ToDiagnostic() diag.Diagnostic
type DatabaseNotEmpty ¶
type DatabaseNotEmpty struct {
// contains filtered or unexported fields
}
func NewDatabaseNotEmpty ¶
func NewDatabaseNotEmpty(name string) *DatabaseNotEmpty
func (*DatabaseNotEmpty) Error ¶
func (e *DatabaseNotEmpty) Error() string
func (*DatabaseNotEmpty) Name ¶
func (e *DatabaseNotEmpty) Name() string
func (*DatabaseNotEmpty) ToDiagnostic ¶
func (e *DatabaseNotEmpty) ToDiagnostic() diag.Diagnostic
type DatabaseNotFound ¶
type DatabaseNotFound struct {
// contains filtered or unexported fields
}
func NewDatabaseNotFound ¶
func NewDatabaseNotFound(name string) *DatabaseNotFound
func (*DatabaseNotFound) Error ¶
func (e *DatabaseNotFound) Error() string
func (*DatabaseNotFound) Name ¶
func (e *DatabaseNotFound) Name() string
func (*DatabaseNotFound) ToDiagnostic ¶
func (e *DatabaseNotFound) ToDiagnostic() diag.Diagnostic
type DiagnosableError ¶
type DiagnosableError interface { error Name() string ToDiagnostic() diag.Diagnostic }
type DocumentNotFound ¶
type DocumentNotFound struct {
// contains filtered or unexported fields
}
func NewDocumentNotFound ¶
func NewDocumentNotFound(id string) *DocumentNotFound
func (*DocumentNotFound) Error ¶
func (e *DocumentNotFound) Error() string
func (*DocumentNotFound) Name ¶
func (e *DocumentNotFound) Name() string
func (*DocumentNotFound) ToDiagnostic ¶
func (e *DocumentNotFound) ToDiagnostic() diag.Diagnostic
type EJsonParseError ¶
type EJsonParseError struct {
// contains filtered or unexported fields
}
func NewEJsonParseError ¶
func NewEJsonParseError(err error) *EJsonParseError
func (*EJsonParseError) Error ¶
func (e *EJsonParseError) Error() string
func (*EJsonParseError) Name ¶
func (e *EJsonParseError) Name() string
func (*EJsonParseError) ToDiagnostic ¶
func (e *EJsonParseError) ToDiagnostic() diag.Diagnostic
type InconsistentDocument ¶
type InconsistentDocument struct {
// contains filtered or unexported fields
}
func NewInconsistentDocument ¶
func NewInconsistentDocument(base string, compare string, diff string) *InconsistentDocument
func (*InconsistentDocument) Error ¶
func (e *InconsistentDocument) Error() string
func (*InconsistentDocument) Name ¶
func (e *InconsistentDocument) Name() string
func (*InconsistentDocument) ToDiagnostic ¶
func (e *InconsistentDocument) ToDiagnostic() diag.Diagnostic
type IndexDeletionForbidden ¶
type IndexDeletionForbidden struct{}
func NewIndexDeletionForbidden ¶
func NewIndexDeletionForbidden() *IndexDeletionForbidden
func (*IndexDeletionForbidden) Error ¶
func (e *IndexDeletionForbidden) Error() string
func (*IndexDeletionForbidden) Name ¶
func (e *IndexDeletionForbidden) Name() string
func (*IndexDeletionForbidden) ToDiagnostic ¶
func (e *IndexDeletionForbidden) ToDiagnostic() diag.Diagnostic
type IndexNotFound ¶
type IndexNotFound struct {
// contains filtered or unexported fields
}
func NewIndexNotFound ¶
func NewIndexNotFound(name string) *IndexNotFound
func (*IndexNotFound) Error ¶
func (e *IndexNotFound) Error() string
func (*IndexNotFound) Name ¶
func (e *IndexNotFound) Name() string
func (*IndexNotFound) ToDiagnostic ¶
func (e *IndexNotFound) ToDiagnostic() diag.Diagnostic
type InvalidImportID ¶
type InvalidImportID struct {
// contains filtered or unexported fields
}
func NewInvalidImportID ¶
func NewInvalidImportID(message string) *InvalidImportID
func (*InvalidImportID) Error ¶
func (e *InvalidImportID) Error() string
func (*InvalidImportID) Name ¶
func (e *InvalidImportID) Name() string
func (*InvalidImportID) ToDiagnostic ¶
func (e *InvalidImportID) ToDiagnostic() diag.Diagnostic
type InvalidInputValue ¶
type InvalidInputValue struct {
// contains filtered or unexported fields
}
func NewInvalidInputValue ¶
func NewInvalidInputValue(description string) *InvalidInputValue
func (*InvalidInputValue) Error ¶
func (e *InvalidInputValue) Error() string
func (*InvalidInputValue) Name ¶
func (e *InvalidInputValue) Name() string
func (*InvalidInputValue) ToDiagnostic ¶
func (e *InvalidInputValue) ToDiagnostic() diag.Diagnostic
type InvalidJSONDocument ¶
type InvalidJSONDocument struct {
// contains filtered or unexported fields
}
func NewInvalidJSONDocument ¶
func NewInvalidJSONDocument(description string, json string) *InvalidJSONDocument
func (*InvalidJSONDocument) Error ¶
func (e *InvalidJSONDocument) Error() string
func (*InvalidJSONDocument) Name ¶
func (e *InvalidJSONDocument) Name() string
func (*InvalidJSONDocument) ToDiagnostic ¶
func (e *InvalidJSONDocument) ToDiagnostic() diag.Diagnostic
type InvalidResourceConfiguration ¶
type InvalidResourceConfiguration struct {
// contains filtered or unexported fields
}
func NewInvalidResourceConfiguration ¶
func NewInvalidResourceConfiguration(message string) *InvalidResourceConfiguration
func (*InvalidResourceConfiguration) Error ¶
func (e *InvalidResourceConfiguration) Error() string
func (*InvalidResourceConfiguration) Name ¶
func (e *InvalidResourceConfiguration) Name() string
func (*InvalidResourceConfiguration) ToDiagnostic ¶
func (e *InvalidResourceConfiguration) ToDiagnostic() diag.Diagnostic
type MongoClientError ¶
type MongoClientError struct {
// contains filtered or unexported fields
}
func NewMongoClientError ¶
func NewMongoClientError(err error) *MongoClientError
func (*MongoClientError) Error ¶
func (e *MongoClientError) Error() string
func (*MongoClientError) Name ¶
func (e *MongoClientError) Name() string
func (*MongoClientError) ToDiagnostic ¶
func (e *MongoClientError) ToDiagnostic() diag.Diagnostic
type UnexpectedError ¶
type UnexpectedError struct {
// contains filtered or unexported fields
}
func NewUnexpectedError ¶
func NewUnexpectedError(err error) *UnexpectedError
func (*UnexpectedError) Error ¶
func (e *UnexpectedError) Error() string
func (*UnexpectedError) Name ¶
func (e *UnexpectedError) Name() string
func (*UnexpectedError) ToDiagnostic ¶
func (e *UnexpectedError) ToDiagnostic() diag.Diagnostic
type UnexpectedResourceConfigurationType ¶
type UnexpectedResourceConfigurationType struct {
// contains filtered or unexported fields
}
func NewUnexpectedResourceConfigurationType ¶
func NewUnexpectedResourceConfigurationType(expected string, received string) *UnexpectedResourceConfigurationType
func (*UnexpectedResourceConfigurationType) Error ¶
func (e *UnexpectedResourceConfigurationType) Error() string
func (*UnexpectedResourceConfigurationType) Name ¶
func (e *UnexpectedResourceConfigurationType) Name() string
func (*UnexpectedResourceConfigurationType) ToDiagnostic ¶
func (e *UnexpectedResourceConfigurationType) ToDiagnostic() diag.Diagnostic
Source Files
¶
- client_is_not_connected.go
- collection_not_empty.go
- collection_not_found.go
- database_not_empty.go
- database_not_found.go
- document_not_found.go
- ejson_parse_error.go
- error.go
- inconsistent_document.go
- index_deletion_forbidden.go
- index_not_found.go
- invalid_import_id.go
- invalid_input_value.go
- invalid_json_document.go
- invalid_resource_configuration.go
- mongo_client_error.go
- unexpected_error.go
- unexpected_resource_configuration_type.go
Click to show internal directories.
Click to hide internal directories.