diff --git a/fields/fields.go b/fields/fields.go index 930a4ee88d5a689a6cdff0f23d8a5c64632007a0..8e027bb296d1ce103d95111d15bcb527d06ed2e4 100644 --- a/fields/fields.go +++ b/fields/fields.go @@ -15,4 +15,12 @@ const ( // GitLabUserName - a string field that // captures the user's username for logging purposes. GitLabUserName = "gl_user_name" + + // ErrorType - a string field that should contain the error type or classification + // (e.g., "NoMethodError", "ValidationError"). + ErrorType = "error_type" + + // ErrorMessage - a string field that should contain the detailed error message + // (e.g., "undefined method `boom!' for nil"). + ErrorMessage = "error_message" )