Table of Contents

Class ErrorCodes

Namespace
Rinku
Assembly
Rinku.dll

Stable codes for errors reported by Rinku. Use these constants when application code must identify a specific error.

public static class ErrorCodes
Inheritance
ErrorCodes
Inherited Members

Remarks

The error reference explains each code and its common fixes.

Fields

AttributeOnWrongMemberType

An accessor attribute was applied to a member whose type it cannot drive.

public const string AttributeOnWrongMemberType = "RINKU5006"

Field Value

string

CannotConvert

A value could not be converted to the requested type.

public const string CannotConvert = "RINKU4004"

Field Value

string

CannotReadColumn

A column could not be read as the requested type. The message names which column.

public const string CannotReadColumn = "RINKU4005"

Field Value

string

ConditionVariableNotInQuery

A marker named a variable the template does not contain.

public const string ConditionVariableNotInQuery = "RINKU1005"

Field Value

string

ConflictingGroupKey

Grouping declarations from incompatible rule families conflict at the same type or construction level.

public const string ConflictingGroupKey = "RINKU3004"

Field Value

string

ConstructionShapeNotUsable

A construction path cannot be called for the requested type.

public const string ConstructionShapeNotUsable = "RINKU5002"

Field Value

string

CopyMethodNotUsable

A copy method a type declares, through ICopyable or [CopyUsingMethod], cannot be called as one.

public const string CopyMethodNotUsable = "RINKU6002"

Field Value

string

EmptyConditionKey

A marker holds a key with nothing in it.

public const string EmptyConditionKey = "RINKU1003"

Field Value

string

ForeignGenericSource

A construction path or member comes from an unsupported generic type.

public const string ForeignGenericSource = "RINKU5005"

Field Value

string

GroupKeyUnmapped

A declared group key matched no column in the result, so the boundary cannot be read.

public const string GroupKeyUnmapped = "RINKU3003"

Field Value

string

HandlerValueType

A handler was given a value it cannot render.

public const string HandlerValueType = "RINKU2003"

Field Value

string

InternalInvariant

The library entered an unexpected state.

public const string InternalInvariant = "RINKU9001"

Field Value

string

InvalidParameterAtIndex

The parameter at the given index is not usable.

public const string InvalidParameterAtIndex = "RINKU2004"

Field Value

string

MissingGroupBoundary

A spanning type maps many rows to one instance but declares no group boundary to tell its instances apart.

public const string MissingGroupBoundary = "RINKU3002"

Field Value

string

NoAddNewFactory

A list was asked for a new item without a way to make one.

public const string NoAddNewFactory = "RINKU6004"

Field Value

string

NoConnection

The command carries no connection to run against.

public const string NoConnection = "RINKU2001"

Field Value

string

NoCopyStrategy

A type's shape gives the copier nothing to work with, so tracking cannot keep the original to compare against.

public const string NoCopyStrategy = "RINKU6001"

Field Value

string

NoCurrentValue

A tracked slot was read for display and holds no current value.

public const string NoCurrentValue = "RINKU6003"

Field Value

string

NoParserForSchema

No construction path for the target type could be filled from the columns returned.

public const string NoParserForSchema = "RINKU3001"

Field Value

string

NoRows

The query returned no rows and the requested shape requires one.

public const string NoRows = "RINKU4001"

Field Value

string

NullNotAllowed

A column held NULL and the slot receiving it refuses null.

public const string NullNotAllowed = "RINKU4003"

Field Value

string

OperationNotSupportedForType

A type was asked for an operation it does not carry, such as being built from JSON.

public const string OperationNotSupportedForType = "RINKU5007"

Field Value

string

ProjectionOnlyConstruct

A dynamic projection construct was used outside a projection.

public const string ProjectionOnlyConstruct = "RINKU1008"

Field Value

string

QueryTooShort

The template is under two characters.

public const string QueryTooShort = "RINKU1001"

Field Value

string

RequiredHandlerValue

A handler needs a value for a variable the run did not supply.

public const string RequiredHandlerValue = "RINKU2002"

Field Value

string

ScopeTooDeep

Open scopes went past the depth the parser tracks.

public const string ScopeTooDeep = "RINKU1007"

Field Value

string

ShapeRefusedResult

A result shape refused the rows it was handed.

public const string ShapeRefusedResult = "RINKU4002"

Field Value

string

TargetTypeMismatch

A construction path or member was offered whose type does not line up with the target, a construction that builds something else or a member that belongs to another type.

public const string TargetTypeMismatch = "RINKU5004"

Field Value

string

TypeHasNoSize

A sized parameter was asked for a database type that does not carry a size.

public const string TypeHasNoSize = "RINKU2006"

Field Value

string

TypeNotUsableByInfo

The parsing info cannot handle the type it was asked to validate.

public const string TypeNotUsableByInfo = "RINKU5001"

Field Value

string

UnbalancedScope

The template closes a scope it never opened.

public const string UnbalancedScope = "RINKU1006"

Field Value

string

UnclosedComment

A marker or a literal comment was opened and the template ended before it closed.

public const string UnclosedComment = "RINKU1002"

Field Value

string

UnknownHandlerSuffix

A variable carried a suffix letter no handler is registered for.

public const string UnknownHandlerSuffix = "RINKU1004"

Field Value

string

UnusableMember

A member cannot receive a value for the requested type.

public const string UnusableMember = "RINKU5003"

Field Value

string

ValueNotSet

A handler's saved state was read before a bind wrote it.

public const string ValueNotSet = "RINKU2005"

Field Value

string