Skip to content

Diagnostics

Kieron Lanning edited this page May 20, 2024 · 7 revisions

General

ID Level Description
TSG1000 Error Fatal execution error occurred.
TSG1001 Error Inferring generation targets is not supported when using multi-target generation.
TSG1002 Error Multiple generation types are not supported.

Logging

ID Level Description
TSG2000 Error Too many exception parameters.
TSG2001 Error More than 6 parameters.
TSG2002 Info Inferring error log level.

Activities

ID Level Description
TSG3000 Warning Baggage parameter types only accept strings.
TSG3001 Warning No activity source specified.
TSG3002 Error Invalid return type.
TSG3003 Error Duplicate reserved parameters defined.
TSG3004 Error Activity parameter is not valid.
TSG3005 Error Timestamp parameter is not valid.
TSG3006 Error Start time parameter is not valid on Create activity or Event method.
TSG3007 Error Parent context or Parent Id parameter is not valid on event.
TSG3008 Error Activity links parameters are not valid on events or context methods.
TSG3009 Error Activity tags parameter are not valid on context methods.
TSG3010 Error Escaped parameters must be a boolean.
TSG3011 Error Escaped parameters are only valid on Events, not Activity or Context methods.
TSG3012 Info There is no Activity method defined, only Event and/ or Context. This means the Activity.Current is assumed which much be created manually.

Metrics

ID Level Description
TSG4000 Error No instrument defined.
TSG4001 Error Must return void or bool.
TSG4002 Error Auto increment counter and measurement defined.
TSG4003 Error Multiple measurement values defined.
TSG4004 Error No measurement value defined.
TSG4005 Error Observable instrument requires Func<T>.
TSG4006 Error Invalid measurement type.

Clone this wiki locally