Skip to content

Error Messages

Jim W edited this page Jan 13, 2024 · 8 revisions

Error and Warning Messages

SEEK001 Missing or invalid regex parameter

Severity: Error

When using the OutputRegex attribute you must supply the Regex parameter. Also, it must be a valid regular expression. In the latter case, the error message will indicate why it is invalid.

SEEK002 Multiple format attributes

Severity: Warning

Only one Output* attribute may be used on a property. The first attribute will be used and others ignored.

SEEK003 No properties found

Severity: Warning

A class marked with OutputsToString has no public properties. Just the class name a No properties to display will be in the output.

SEEK004 Member in Title not found

Severity: Warning

The Title property was used, but one of the members specified in the string was not found.

SEEK005 Private classes can't be used

Severity: Warning

A class marked with OutputsToString is private

SEEK006 Member not found in class

Severity: Error

An OutputProperty* attribute has the name of a property that doesn't exist on the type of the property

SEEK007 Name is required

Severity: Error

An OutputProperty* attribute must have a non-empty first parameter (Name)

SEEK008 Invalid Type for Property

Severity: Error

An OutputProperty* attribute is on a property that has an invalid type for the generator

SEEK009 Missing method for provider

Severity: Error

An OutputFormatProvider method name parameter was not found on the type

SEEK010 Invalid provider signature

Severity: Error

An OutputFormatProvider method doesn't have the proper signature. The error message should show the correct syntax, which must be like public static string MethodName(PropertyType)