त्रुटि सेंटिनल — कैनोनिकल संदर्भ
कंपाइलर द्वारा उत्सर्जित हर घातक रुकावट किसी स्थिति का नाम लेती है, और हर स्थिति तीन पहचानकर्ता रखती है, क्योंकि किसी स्थिति को पहचानना, उसे दर्ज करना और उसे उद्धृत करना तीन अलग-अलग काम हैं। सेंटिनल वह Go मान है जिससे errors.Is मिलान करता है, और जो घोषणा करने वाले पैकेज द्वारा एक्सपोर्ट किए गए एक्सेसर को कॉल करके प्राप्त होता है: वह पहचानकर्ता जिसे Go कोड पहचानता है। कोड वह स्ट्रिंग है जिसके अंतर्गत स्थिति पंजीकृत है: यह स्वयं स्थिति का नाम शब्दों में लेता है, और यही वह है जो उसके आसपास के Go पैकेज के विकसित होने पर भी स्थिर रहता है — वह पहचानकर्ता जिसे कोई प्रोग्राम दर्ज करता है। शॉर्ट कोड अक्षर E और चार अंक है, इतना छोटा कि उसे पढ़कर सुनाया जा सके, खोज में टाइप किया जा सके या किसी रिपोर्ट में पेस्ट किया जा सके: वह पहचानकर्ता जिसे कोई व्यक्ति उद्धृत करता है। एक स्थिति, तीन पहचानकर्ता — Go से स्थिति पहचानने के लिए सेंटिनल से मिलान करें, जब आपको उसे दर्ज करना हो या उसे कुंजी बनाना हो तब कोड पढ़ें, और शॉर्ट कोड को इस पेज पर आगे दी गई हर स्थिति की तालिका में रिज़ॉल्व करें।
उपयोगकर्ता के सामने आने वाला डायग्नोस्टिक (fatal-halts.md और error-translation.md में सूचीबद्ध उपसर्ग-युक्त संदेश) डेवलपर के लिए लिखा गद्य वहन करता है; प्रोग्रामैटिक उपभोक्ताओं में errors.Is जिससे मिलान करता है, वह रैप किया गया सेंटिनल है।
यह पेज सूची का सेंटिनल-आधारित दृश्य है। CI गेट, IDE इंटीग्रेशन, या ऐसा बिल्ड-ऑर्केस्ट्रेशन कोड लिखने वाले प्रोग्रामर, जिसे त्रुटि के प्रकारों में अंतर करना होता है, यहाँ सूचीबद्ध सेंटिनल से मानक errors.Is प्रेडिकेट के साथ मिलान करते हैं। उत्सर्जित त्रुटि टेक्स्ट पढ़कर किसी बिल्ड को डीबग करने वाले लेखक आमतौर पर संदेश-आधारित दृश्य चाहते हैं — बिल्ड रोकने वाली त्रुटियों के लिए fatal-halts.md, सलाहकारी आउटपुट के लिए warnings.md।
नीचे की तालिकाओं की हर पंक्ति एक एक्सेसर का नाम लेती है — ऐसा फ़ंक्शन जो कोई आर्ग्युमेंट नहीं लेता, तालिका द्वारा नामित पैकेज से एक्सपोर्ट किया जाता है, और सेंटिनल लौटाता है। उस पैकेज को इम्पोर्ट करना और एक्सेसर को कॉल करना ही समर्थित इंटीग्रेशन सतह है, इसीलिए तालिकाएँ हर एक्सेसर को उसके कोष्ठकों के साथ लिखती हैं — कॉल ही वह मान देता है जिससे errors.Is मिलान कर सकता है, और कोष्ठकों के बिना नाम त्रुटि नहीं, बल्कि एक फ़ंक्शन है:
import ( "errors"
"github.com/aggrega-ai/aggrega-cli/pkg/resolver")
if errors.Is(err, resolver.ErrParameterContractViolation()) { // handle parameter contract violations}तीनों पहचानकर्ता अपनी स्थिरता अलग-अलग रखते हैं, और यही अलगाव वह कारण है जिससे किसी स्थिति के पास तीनों होते हैं। नीचे सूचीबद्ध एक्सेसर पैच रिलीज़ के पार स्थिर रहते हैं; नाम बदलने या हटाने की घोषणा चेंजलॉग में उस रिलीज़ की प्रविष्टि में की जाती है जो उन्हें करती है, और किसी पैकेज के भीतर नया एक्सेसर जोड़ना योगात्मक है और मौजूदा मैचर को नहीं तोड़ता। कोड उसकी स्थिति के प्रकाशित होते ही स्थिर हो जाता है, इसलिए जहाँ भी किसी स्थिति का स्थायी रूप से नाम लेना हो, वहाँ दर्ज करने के लिए यही पहचानकर्ता है: किसी एक्सेसर का नाम बदलने से वह कोड नहीं हटता जिसके अंतर्गत उसकी स्थिति पंजीकृत हुई थी, और आपके द्वारा दर्ज किया गया कोड Go सतह के रीफ़ैक्टर के बाद भी बना रहता है। शॉर्ट कोड तीनों में सबसे टिकाऊ है: कोई संख्या एक बार दी जाती है और फिर स्थिर रहती है, और सेवानिवृत्त स्थिति की संख्या किसी अलग स्थिति को दिए जाने के बजाय सेवानिवृत्त ही रहती है, इसलिए किसी पुरानी रिपोर्ट में दर्ज शॉर्ट कोड अब भी उसी स्थिति का नाम लेता है जिसका नाम उसने दर्ज किए जाते समय लिया था। यह केवल इरादा नहीं, बल्कि लागू किया जाता है — सेवानिवृत्त संख्या के अंतर्गत घोषित स्थिति, कंपाइलर द्वारा कोई भी इनपुट पढ़ने से पहले, हर रन पर अस्वीकार कर दी जाती है — और हर सेवानिवृत्त संख्या हर स्थिति की तालिका में सक्रिय संख्याओं के बगल में प्रकाशित है। नीचे का कोड कॉलम कोड रखता है, और यही वह मान है जिसे संरचित डायग्नोस्टिक का क्लाइंट इन पैकेज को लिंक किए बिना पढ़ता है। यह अनुमान से नहीं निकाला जाता, बल्कि प्रकाशित किया जाता है, क्योंकि ज़रूरी नहीं कि यह उसी पंक्ति को दोहराए जिस पर यह है — फिर से एक्सपोर्ट किया गया नाम उस स्थिति का कोड रिपोर्ट करता है जिसकी ओर वह आगे भेजता है, और किसी नियम का कोड एक्सेसर का नहीं, बल्कि नियम का नाम लेता है। संदेश कॉलम वह शाब्दिक टेक्स्ट है जिसे सेंटिनल रेंडर करता है; उपयोगकर्ता के सामने आने वाला डायग्नोस्टिक उस टेक्स्ट से पहले एक कोष्ठकयुक्त शीर्ष और सोर्स स्थान रखता है। वह शीर्ष स्थिति का शॉर्ट कोड रखता है, और जहाँ घटना की कोई श्रेणी होती है वहाँ उसके बगल में वह श्रेणी, जैसे [DEVELOPER_ERROR E0007] में — ताकि पाठक दोनों में से किसी को भी स्वतंत्र रूप से रिज़ॉल्व कर सके: श्रेणियाँ (DEVELOPER_ERROR / OPS_ERROR / CATALOG_ERROR / TRANSLATION_ERROR / FETCH_ERROR / POLICY_ERROR / TRUST_ERROR) error-translation.md में सिखाई गई हैं, और शॉर्ट कोड इस पेज पर हर स्थिति की तालिका में रिज़ॉल्व होते हैं। जहाँ किसी प्लगइन ने स्थिति उठाई, वहाँ कोड टोकन को उसे उठाने वाले प्लगइन से क्वालिफ़ाई किया जाता है — [TRANSLATION_ERROR provider/example:1.0.0/E0007] — और शॉर्ट कोड अंतिम सेगमेंट होता है; error-translation.md बताता है कि क्वालिफ़ायर वहाँ क्यों है और रिज़ॉल्व करने के लिए अंतिम सेगमेंट ही क्यों है।
किसी स्थिति का कोड पढ़ना
कोड kebab-case में स्थिति का नाम लेता है और कुछ नहीं — parameter-contract-violation, lockfile-drift। इसमें कोई उपसर्ग नहीं होता: न उसे घोषित करने वाला पैकेज, न उसे उठाने वाला चरण, न किसी भी तरह का समूहीकरण। इसलिए कंपाइलर के उसके इर्द-गिर्द पुनर्गठित होने पर भी कोड वही रहता है, और कंपाइलेशन में एक से अधिक बिंदुओं पर उठाई गई स्थिति का फिर भी एक ही नाम होता है। हर स्थिति का नाम अपने आप में अलग है, और यही उपसर्ग को अनावश्यक बनाता है, और दो स्थितियाँ एक ही कोड के अंतर्गत पंजीकृत नहीं हो सकतीं। इसे किसी त्रुटि से github.com/aggrega-ai/aggrega-cli/pkg/errors के CodeOf के साथ पढ़ें, जो रैप चेन को उसी तरह खंगालता है जैसे errors.Is खंगालता है, इसलिए त्रुटि को आप तक लौटते हुए चाहे जितने भी फ़्रेम ने रैप किया हो, कोड बचा रहता है। वह पैकेज स्वयं errors नाम का है, इसलिए एक इम्पोर्ट एलियास उसे मानक लाइब्रेरी से अलग रखता है:
package release
import ( "log"
aggregaerrors "github.com/aggrega-ai/aggrega-cli/pkg/errors" "github.com/aggrega-ai/aggrega-cli/pkg/resolver")
// Load reads a Release and reports the code of whatever condition halted it.func Load(path string) error { _, err := resolver.LoadRelease(path) if err == nil { return nil } if code, ok := aggregaerrors.CodeOf(err); ok { // code names the condition in words, such as parameter-contract-violation. log.Printf("%s halted: %s", path, code) } return err}CodeOf यह भी रिपोर्ट करता है कि चेन की किसी भी त्रुटि में कोई कोड था या नहीं; कोई कोड न रखने वाली चेन विफलता नहीं, बल्कि उस चेन के बारे में एक तथ्य है। जहाँ आप इंटरफ़ेस से स्वयं मिलान करना पसंद करें, वहाँ वही पैकेज उसे CodedError के रूप में एक्सपोर्ट करता है, और errors.As उसी खोज में उसे ढूँढ लेता है।
कोड एक ही दिशा में यात्रा करता है। यह वह है जिसे कोई स्थिति रिपोर्ट करती है, कभी वह नहीं जो किसी मैचर के लिए उसकी पहचान कराता हो: स्ट्रिंग को अपने कोड में लिखने से आपको एक स्ट्रिंग मिलती है, और स्ट्रिंग से उस मान तक वापस जाने का कोई रास्ता नहीं है जिससे errors.Is मिलान करता है। किसी स्थिति को पहचानने के लिए सेंटिनल से मिलान करें; उसे दर्ज करने के लिए कोड पढ़ें।
aggrega टर्मिनल पर जो कोड प्रिंट करता है, वह शॉर्ट कोड है, यह नहीं। बिल्ड रोकने वाला डायग्नोस्टिक एक कोष्ठकयुक्त शीर्ष से शुरू होता है जो स्थिति का शॉर्ट कोड रखता है, और जहाँ घटना की कोई श्रेणी होती है वहाँ उसके बगल में वह श्रेणी — [DEVELOPER_ERROR E0007], या [TRANSLATION_ERROR provider/example:1.0.0/E0007] जहाँ किसी प्लगइन ने स्थिति उठाई और कोड को उसे उठाने वाले प्लगइन से क्वालिफ़ाई किया गया है, या [E0007] जहाँ विफलता के पास कोई ऐसा सरोकार नहीं है जिसकी ओर वह आपको भेजे — और फिर सोर्स स्थान और fatal-halts.md में सूचीबद्ध संदेश टेक्स्ट। वर्णनात्मक कोड स्थिति का नाम शब्दों में लेता है और उस स्थान के लिए बहुत अधिक चौड़ा है: सबसे लंबी स्थितियों पर वह संदेश शुरू होने से पहले ही किसी संकरे टर्मिनल को भर देता, और यही पूरा कारण है कि एक दूसरा, संक्षिप्त पहचानकर्ता मौजूद है। इसलिए जब आपके पास केवल प्रिंट हुआ आउटपुट हो, तब काम करने के लिए टोकन शॉर्ट कोड है, और वह इस पेज पर आगे दी गई हर स्थिति की तालिका में रिज़ॉल्व होता है: फ़ोन पर पढ़कर सुनाई जा सकने वाली संख्या से आप स्थिति, उसके एक्सेसर और उसके संदेश टेक्स्ट तक पहुँचते हैं। aggrega explain <code> टर्मिनल पर यही रिज़ॉल्यूशन करता है — यह स्थिति के दोनों कोड में से कोई भी लेता है और स्थिति को ऑथरिंग सुधार का दस्तावेज़ीकरण करने वाली प्रविष्टि के साथ प्रिंट करता है, और इसका वर्णन aggrega explain में है। fatal-halts.md के संदेश-आधारित दृश्य किसी पहचानकर्ता के बजाय शब्दों से काम करने का तरीका बने रहते हैं।
कोड Go के बाहर जहाँ यात्रा करता है, वह कंपाइलर-सेवा डेमन द्वारा प्रकाशित संरचित डायग्नोस्टिक है, हर प्रविष्टि पर अपने अलग code फ़ील्ड के रूप में, न कि संदेश टेक्स्ट में मिलाई गई किसी चीज़ के रूप में — इसलिए एडिटर एक्सटेंशन, या उस प्रोटोकॉल का कोई अन्य क्लाइंट, इन पैकेज को लिंक किए बिना और गद्य पार्स किए बिना, प्रविष्टि जो रिपोर्ट करती है उस पर ब्रांच करता है। वह एक कुंजी मशीन द्वारा मिलान योग्य कोड रखती है, चाहे उसे किसी ने भी निर्धारित किया हो, और प्रविष्टि बताती है कि किस परत ने उसे उठाया। वहाँ कोड के तीन स्रोत होते हैं, और तीसरा ही वह कारण है जिससे इस पेज पर खोजा जा सकने वाला कोड अपने आप में इस बात का संकेत नहीं है कि कुछ विफल हुआ:
- उस स्थिति का कोड जिसका नाम कोई विफलता लेती है, और यही वह है जिसे यह पेज सूचीबद्ध करता है।
- रेंडर किए गए आउटपुट के बारे में किसी सलाहकारी संदेश का श्रेणी कोड —
unsupported-fieldऐसा ही एक कोड है, और warnings.md उसका वर्णन करता है। इसे स्थिति के रूप में पंजीकृत करने के बजाय वहीं निर्धारित किया जाता है जहाँ सलाहकारी संदेश उठाया गया, इसलिए यहाँ इसकी कोई पंक्ति नहीं है। - ऑथर किए गए दस्तावेज़ों के बारे में किसी सलाहकारी संदेश का पंजीकृत कोड — ऐसा नाम जो किसी घोषित नाम से एक संपादन की दूरी पर है, ऐसा पैरामीटर जिसे कुछ भी नहीं पढ़ता। ऐसी फ़ाइंडिंग किसी स्थिति का नाम उसी रूप में लेती है जैसे कोई विफलता लेती है, इसलिए उसका कोड पंजीकृत है और इस पेज पर उसकी एक पंक्ति है, और वह पंक्ति पढ़ने से आपको पता चलता है कि फ़ाइंडिंग किस बारे में है।
इसलिए वही कोड जो आप किसी रुकावट से पढ़ते, ऐसे बिल्ड से भी आप तक पहुँच सकता है जो पूरा हो गया, ऐसी फ़ाइंडिंग के ज़रिए जिसने परिणाम के बारे में कुछ नहीं बदला। दोनों को अलग करने वाली चीज़ वह परिणाम है जो आपको मिला और वह परत जिसका नाम प्रविष्टि लेती है — कभी कोड का अपना रूप नहीं, और कभी यह नहीं कि वह यहाँ रिज़ॉल्व होता है या नहीं। जहाँ प्रविष्टि उत्पन्न करने वाली किसी भी चीज़ ने कोड निर्धारित नहीं किया, वहाँ फ़ील्ड छोड़ दिया जाता है: ऐसी विफलता जो Aggrega की अपनी किसी स्थिति का नाम नहीं लेती, और ऐसा सलाहकारी संदेश जिसे उठाने वाले ने कोई कोड निर्धारित नहीं किया। aggrega serve प्रविष्टि के आकार, परत का नाम लेने वाली कुंजी, और फ़ील्ड कब मौजूद होता है, इनका दस्तावेज़ीकरण करता है।
संरचित डायग्नोस्टिक किसी स्थिति के दोनों पहचानकर्ता रखता है, और कौन-सा क्या है, यह जानना ही तय करता है कि आपके पास ऐसा पहचानकर्ता है जिस पर आप कार्रवाई कर सकते हैं या ऐसा जिस पर नहीं कर सकते। ऊपर की code कुंजी किसी प्रोग्राम के लिए है: हाइफ़न वाली और स्थिति का नाम शब्दों में लेने वाली, इसलिए उस पर ब्रांच करने वाला एक्सटेंशन वैसा ही पढ़ा जाता है जैसा उसका अर्थ है, और यही वह मान है जिसे Go में CodeOf रिपोर्ट करता है। उसके बगल की shortCode कुंजी किसी व्यक्ति के लिए है — अक्षर E और चार अंक, वही टोकन जिसे बिल्ड रोकने वाला डायग्नोस्टिक अपने कोष्ठकयुक्त शीर्ष में प्रिंट करता है। इसे ही आप फ़ोन पर पढ़कर सुनाते हैं, खोज बॉक्स में टाइप करते हैं, या किसी इश्यू में पेस्ट करते हैं, और यही वह टोकन है जिस पर हर स्थिति की तालिका आधारित है।
न तो कोई दूसरे का संक्षिप्त रूप है, और न कोई दूसरे का फ़ॉलबैक। वर्णनात्मक कोड पर मिलान करें; पाठक को शॉर्ट कोड दिखाएं। जो सतह केवल वर्णनात्मक कोड देती, वह लेखक को मैचर के लिए बना पहचानकर्ता सौंप रही होती, और जो शॉर्ट कोड पर मिलान करती, वह ऐसी संख्या पर मिलान कर रही होती जो स्थिति के बारे में कुछ नहीं कहती — इसीलिए किसी एक को चुनने के बजाय दोनों साथ यात्रा करते हैं।
एक तीसरी कुंजी, codeDescription, यह रखती है कि स्थिति कहाँ प्रकाशित है, डायग्नोस्टिक के बारे में और जानने के लिए खोले जाने वाले रेफ़रेंस के रूप में। उसका पता इस पेज पर हर स्थिति की तालिका पर रिज़ॉल्व होता है, इसलिए एडिटर से उसका अनुसरण करने वाला पाठक उसी शॉर्ट कोड के साथ पहुँचता है जिस पर तालिका आधारित है। कोई प्रविष्टि शॉर्ट कोड और रेफ़रेंस साथ-साथ रखती है, या दोनों में से कोई नहीं: दोनों ठीक वहीं मौजूद होते हैं जहाँ प्रविष्टि किसी पंजीकृत स्थिति का नाम लेती है — ऐसी स्थिति जिसकी उस तालिका में एक पंक्ति है — और दोनों वहाँ अनुपस्थित होते हैं जहाँ कोड सलाहकारी संदेशों की किसी श्रेणी का, या आपके अपने किसी लिंटर के ऐसे परिपाटी नियम की आइडेंटिटी का नाम लेता है जिसे Aggrega घोषित नहीं करता, क्योंकि उनके लिए उद्धृत करने को कोई संख्या नहीं है और यहाँ ऐसा कुछ नहीं है जो उनका वर्णन करे।
उलटी दिशा में — आपके पास मौजूद कोड से उस स्थिति तक जिसका वह नाम लेता है — नीचे की तालिकाएँ प्रकाशित सूची हैं। हर पंक्ति कोड को उस एक्सेसर के बगल में रखती है जो Go में वही स्थिति देता है, इसलिए संरचित डायग्नोस्टिक से पढ़ा गया कोड ऐसे नाम पर रिज़ॉल्व होता है जिससे आप मिलान कर सकते हैं, और उस टेक्स्ट पर जिसे स्थिति रेंडर करती है। तालिकाएँ उन स्थितियों को कवर करती हैं जिनके एक्सेसर को आप इम्पोर्ट कर सकते हैं, और दो तरह के कोड उनके बाहर रहते हैं: श्रेणी कोड, जो किसी स्थिति के बजाय सलाहकारी संदेशों की एक श्रेणी का नाम लेता है और इसलिए उसके बगल में रखने के लिए कोई एक्सेसर नहीं होता, और ऐसा कोड जिसकी स्थिति केवल ऐसे पैकेज में घोषित है जिसे आप इम्पोर्ट नहीं कर सकते और जो कहीं भी फिर से एक्सपोर्ट नहीं की गई, जहाँ उसके बगल में रखने के लिए कोई मिलान योग्य नाम नहीं है। वह दूसरी तरह का कोड फिर भी किसी स्थिति का नाम लेता है, और उस स्थिति का फिर भी एक शॉर्ट कोड होता है — इस पेज पर आगे दी गई हर स्थिति की तालिका किसी इम्पोर्ट योग्य नाम के बजाय शॉर्ट कोड पर आधारित है और इसलिए उन्हें भी कवर करती है।
मिलान योग्य सतह, घोषणा करने वाले पैकेज के अनुसार
नीचे का हर अनुभाग एक ऐसा पैकेज है जिसे आप इम्पोर्ट कर सकते हैं। उसका शीर्षक मॉड्यूल पाथ github.com/aggrega-ai/aggrega-cli के सापेक्ष पैकेज पाथ है, इसलिए pkg/resolver शीर्षक वाला अनुभाग github.com/aggrega-ai/aggrega-cli/pkg/resolver के रूप में इम्पोर्ट किया जाता है।
प्रविष्टियाँ उस पैकेज के अनुसार समूहित हैं जो सेंटिनल को घोषित करता है, क्योंकि मैचर उसी पैकेज को इम्पोर्ट करता है। बिल्ड में स्थिति कहाँ उठाई जाती है, यह एक अलग प्रश्न है, और ऐसा प्रश्न जिसका उत्तर यह पेज जानबूझकर नहीं देता: एक ही सेंटिनल अक्सर कई जगहों से उठाया जाता है, और कई सेंटिनल केवल ऐसे कोड से उठाए जाते हैं जिसे मॉड्यूल एक्सपोर्ट नहीं करता, इसलिए प्रति-प्रविष्टि कोई भी उत्तर हर पंक्ति के लिए सही नहीं होता। संदेश-आधारित दृश्य बिल्ड-में-कब वाले प्रश्न का उत्तर ऐसे शब्दों में देते हैं जिन्हें आप देख सकते हैं — सबसे बढ़कर fatal-halts.md।
कुछ नाम एक से अधिक पैकेज में आते हैं। वे दो स्थितियाँ नहीं, बल्कि एक साझा मान के फिर से किए गए एक्सपोर्ट हैं, इसलिए किसी भी नाम से मिलान सफल होता है; जहाँ दोनों नाम इम्पोर्ट योग्य हैं, वहाँ तालिकाएँ यह बताती हैं। दोनों पंक्तियाँ एक ही कोड रखती हैं, जो वही तथ्य है, उस पहचानकर्ता पर कहा गया जो Go के बाहर के क्लाइंट के पास होता है: एक स्थिति, एक कोड, चाहे कितने भी नाम उस तक पहुँचें।
pkg/catalog
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrAllVersionsRetracted() | all-versions-retracted | every published version this reference could select has been withdrawn |
ErrAmbiguousImporterPlugin() | ambiguous-importer-plugin | format is advertised by more than one importer plugin |
ErrAmbiguousParserPlugin() | ambiguous-parser-plugin | format is advertised by more than one parser plugin |
ErrAmbiguousProviderPlugin() | ambiguous-provider-plugin | capability is served by more than one provider plugin; add a plugins.providers entry to select one |
ErrAmbiguousTypeMapping() | ambiguous-type-mapping | Manifest maps multiple version-distinct keys to the same base type; the type-to-recipe lookup is ambiguous |
ErrConflictingVersionConstraints() | conflicting-version-constraints | no version of a component or feature type satisfies every constraint declared on the instance |
ErrDuplicateEntityIdentity() | duplicate-entity-identity | duplicate entity identity within a single catalog directory |
ErrImporterVersionUnsatisfiable() | importer-version-unsatisfiable | no importer plugin version satisfies the plugins.importer entry's version pin |
ErrManifestImplementsMismatch() | manifest-implements-mismatch | Manifest mapping entry's recipe spec.implements does not match the mapped component-type / feature-type key |
ErrNameMappingMatchedNothing() | name-mapping-matched-nothing | a Manifest name mapping's key names no component instance or attachment in this build, so the entry binds nothing |
ErrNoImporterForFormat() | no-importer-for-format | no importer plugin advertises the requested format |
ErrNoParserForFormat() | no-parser-for-format | no parser plugin advertises the requested format |
ErrNoRecipeResolved() | no-recipe-resolved | no recipe resolved for component/feature instance: add an explicit Manifest mapping for its type |
ErrProviderBindingCapabilityUnserved() | provider-binding-capability-unserved | plugins.providers entry names a capability no provider-rendering plugin the build reads serves |
ErrProviderBindingUnsatisfied() | provider-binding-unsatisfied | plugins.providers entry names a plugin no provider-rendering plugin serving the capability matches |
ErrProviderVersionUnsatisfiable() | provider-version-unsatisfiable | no provider-rendering plugin version satisfies the recipe's provider version pin |
ErrQualifiedPluginReference() | plugin-reference-must-not-be-registry-qualified | wasm plugin reference must be the plugin coordinate identity (<pluginType>/<name>:<version>), not a registry-qualified or artifact path |
ErrUnknownCatalogDocumentKind() | unknown-catalog-document-kind | catalog document declares a kind a catalog does not hold |
ErrUnsatisfiableEntityVersion() | unsatisfiable-entity-version | no catalog version satisfies the referenced version constraint |
ErrUnscopedPluginReference() | plugin-reference-must-be-scoped | wasm plugin reference must carry a pluginType scope (<pluginType>/<name>); an empty scope cannot bind to an OCI location |
ErrUnscopedRecipeReference() | recipe-reference-must-be-scoped | recipe reference must be provider-scoped (<provider>/<name>); an empty provider cannot bind to an OCI location |
ErrUnusableSchemaImport() | unusable-schema-import | a schema `$import:` could not be applied |
ErrManifestImplementsMismatch()वही मान है जोpkg/resolver.ErrManifestImplementsMismatch()है, इसलिए किसी भी नाम से मिलान सफल होता है।
pkg/closure
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrInvalidLibraryRef() | invalid-library-ref | resolve: invalid library reference URI |
ErrMVSConflict() | version-selection-conflict | resolve: consumers of one library require versions in incompatible majors |
ErrNoAggregateLoader() | catalog-cannot-load-sub-aggregate-bodies | resolve: catalog lookup cannot load resolved sub-aggregate bodies |
ErrNoRecipeLoader() | catalog-cannot-load-recipe-bodies | resolve: catalog lookup cannot load resolved recipe and plugin bodies |
ErrSourceTemplateAtLockTime() | source-template-at-lock-time | resolve: source-template evaluation failure at lock time |
ErrSourceTemplateParse() | source-template-not-parsable | resolve: source-template parse error |
ErrSourceTemplateProvidesRef() | source-template-provides-ref | resolve: source-template references .provides (invalid reverse reference) |
ErrSubAggregateDepth() | sub-aggregate-depth | resolve: sub-aggregate inclusion depth exceeded |
ErrUnresolvableURI() | unresolvable-uri | resolve: no entity in the catalog matches this URI |
pkg/compactform
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrAmbiguousDispatch() | ambiguous-dispatch | compactform: ambiguous dispatch — $mode required |
ErrCircularRef() | reference-cycle | circular reference expansion |
ErrConstraintTypeMismatch() | constraint-type-mismatch | compactform: constraint not valid for declared type |
ErrEscapeContentInvalid() | escape-content-invalid | compactform: $jsonschema content invalid |
ErrHostInLibraryRef() | host-in-library-ref | compactform: cross-document $ref carries a registry host; reference the library by identity |
ErrReferenceUnresolvable() | reference-unresolvable | compactform: $ref unresolvable |
ErrUnknownKeyword() | unknown-keyword | compactform: unknown keyword |
ErrUnresolvedSchemaLibraryRef() | unresolved-schema-library-ref | compactform: cross-document $ref target not found |
ErrCircularRef()वही मान है जोpkg/refcycle.ErrCycle()है, इसलिए किसी भी नाम से मिलान सफल होता है।
pkg/deprecation
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrDeprecatedEntity() | deprecated-entity | deprecation: build consumes a deprecated entity |
pkg/docscache
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrFetchNotFound() | fetch-not-found | oci: artifact not found at remote source |
ErrNotDocsBundle() | not-docs-bundle | docscache: artifact is not a documentation bundle |
ErrPageNotFound() | page-not-found | docscache: page not found in documentation bundle |
ErrFetchNotFound()वही मान है जोpkg/oci.ErrFetchNotFound()है, इसलिए किसी भी नाम से मिलान सफल होता है।
pkg/egress
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrNoAnswerInTime() | no-answer-in-time | egress: the server did not answer in time |
ErrOfflineEgress() | offline-egress | egress: network access refused because the workspace is offline; remediation: pass `--offline=false` to allow the network for this one run, or clear the top-level `offline` key in the configuration file (or AGGREGA_OFFLINE) to allow it from now on; where the work is a build that needs content the machine does not have, run `aggrega pull --release <release>` from a connected environment first to populate the cache |
pkg/externalinputs
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrAcquisitionDisabled() | acquisition-disabled | externalinputs: acquisition is disabled for unpinned inputs |
ErrDigestMismatch() | digest-mismatch | externalinputs: fetched bytes mismatch the pinned digest |
ErrSchemeNotAllowed() | scheme-not-allowed | externalinputs: URL scheme is not allowed |
ErrStoreCorrupt() | store-corrupt | externalinputs: store blob mismatches its pinned record |
pkg/lockfile
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrLockfileDrift() | lockfile-drift | lockfile: out of date; it no longer matches what its Release resolves to |
ErrLockfileInvalid() | lockfile-invalid | lockfile: file failed schema validation |
ErrSignatureNotRecorded() | signature-not-recorded | signing: no verified signature is recorded for an artifact that requires one |
pkg/oci
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrAmbiguousContentLayer() | ambiguous-content-layer | oci: manifest has multiple layers of the expected content media type |
ErrBundleAmbiguousEntityDocument() | bundle-ambiguous-entity-document | oci: published bundle carries more than one entity document |
ErrBundleNoEntityDocument() | bundle-no-entity-document | oci: published bundle carries no entity document |
ErrBundleUnreadable() | bundle-unreadable | oci: published bundle cannot be unpacked |
ErrCacheLocationOutsideCache() | cache-location-outside-cache | a value a cache location is built from would place cached files outside the place it names in the cache |
ErrCachedManifestIntegrity() | cached-manifest-integrity | oci: cached manifest digest mismatch |
ErrFetchIntegrity() | fetch-integrity | oci: content digest mismatch |
ErrFetchInterrupted() | fetch-interrupted | oci: the transfer from the registry broke off |
ErrFetchNetworkUnreachable() | fetch-network-unreachable | oci: network unreachable |
ErrFetchNotFound() | fetch-not-found | oci: artifact not found at remote source |
ErrFetchServerError() | fetch-server-error | oci: the registry answered with a server error |
ErrFetchUnauthorized() | fetch-unauthorized | oci: authentication required or failed |
ErrImmutableTagConflict() | immutable-tag-conflict | oci: tag already published with different content |
ErrNoContentLayer() | no-content-layer | oci: manifest has no layer of the expected content media type |
ErrOCILocationCollision() | oci-location-collision | oci: distinct catalog identities map to the same OCI repository location |
ErrPublishedArtifactNotAnEntity() | published-artifact-not-an-entity | oci: published artifact is not an entity document |
ErrReferrerDiscoveryUnavailable() | referrer-discovery-unavailable | oci: referrer discovery could not be completed |
ErrRegistryTooBusy() | registry-too-busy | oci: the registry kept asking to slow down |
ErrRetiredMediaType() | retired-media-type | oci: artifact carries a media type this compiler no longer reads |
ErrSignatureBundleDigestMismatch() | signature-bundle-digest-mismatch | cached signature bundle does not match its recorded digest |
ErrSignatureForAnotherArtifact() | signature-for-another-artifact | signing: the recorded signature was made for a different artifact |
ErrUnknownEntityKind() | unknown-entity-kind | oci: unknown entity kind for mediatype dispatch |
pkg/pathscope
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrNameWindowsCannotHold() | name-windows-cannot-hold | a name this operation writes holds a path segment Windows cannot hold as written |
pkg/pluginpath
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrPluginArtifactNotFound() | plugin-artifact-not-found | plugin artifact not found on this machine |
ErrPluginEntityNotFound() | plugin-entity-not-found | plugin reference is not a Plugin entity |
pkg/pluginstrust
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrVerdictAttachmentNotConfigured() | verdict-attachment-not-configured | a plugin recorded as trusted for an accept-or-reject verdict is no longer attached at any verdict role |
pkg/plugintest
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrCommandsMismatch() | wasm-command-set-mismatch | wasm: recorded command mirror does not match plugin describe() |
ErrContractMismatch() | wasm-contract-mismatch | wasm: entity contract claim does not match plugin describe() |
ErrHostFunctionsMismatch() | wasm-host-function-set-mismatch | wasm: stamped host-function record does not match .wasm imports |
ErrRejected() | wasm-manifest-rejected | wasm: plugin rejected by the sandbox |
ErrTypeMismatch() | wasm-plugin-type-mismatch | wasm: declared plugin type does not match plugin describe() |
pkg/readscope
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrReadLeadsOutOfWorkspace() | read-leads-out-of-workspace | a file this operation reads leads through a link out of the directory it must stay inside |
ErrReferenceLeadsOutOfWorkspace() | reference-leads-out-of-workspace | a reference a document makes to another file leads out of the directory it must stay inside |
pkg/recipepin
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrEntityNotPinned() | entity-not-pinned | an input the entity reads has no pin recorded for it in the entity.lock beside it |
ErrLocalSourceContentMismatch() | local-source-content-mismatch | the files of the entity's local source do not match the pins recorded for them in entity.lock |
pkg/refcycle
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrCycle() | reference-cycle | circular reference expansion |
pkg/registrytrust
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrMalformedTrust() | malformed-trust-policy | registrytrust: advertised trust config is malformed |
ErrNoTrustAdvertised() | no-trust-advertised | registrytrust: registry advertises no trust config |
ErrOfflineRegistrationWithoutTrustPolicy() | offline-registration-without-trust-policy | a registry other than the official hub is not registered offline without a trust policy supplied by hand, because the policy it advertises cannot be fetched; register it once while online, or pin its trust by hand with `aggrega registry add <host> --identity <identity>=<issuer>` or `--key <public-key-file>` |
pkg/resolver
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrAnnotationBindingPillarOverlap() | annotation-binding-pillar-overlap | annotation binding declares one path in both pillar lists |
ErrAnnotationBindingTargetUnresolved() | annotation-binding-target-unresolved | annotation binding does not resolve against its target Feature |
ErrAnnotationScalarNotRoutable() | annotation-scalar-not-routable | a scalar annotation value does not route to exactly one path of its binding |
ErrAnnotationSidePillarMismatch() | annotation-side-pillar-mismatch | annotation routes through a pillar its authoring side may not use |
ErrAnnotationSubkeyNotBound() | annotation-subkey-not-bound | annotation subkey is not routed by the annotation's binding |
ErrAnnotationSubkeyNotConforming() | annotation-subkey-not-conforming | annotation subkey does not conform to the target Feature's schema at the routed pillar |
ErrAttachmentInjectValue() | attachment-inject-value | inject entry on an attachment carries `value:`; an attachment delivers the keys its FeatureRecipe publishes, each named with `from:`, and a literal belongs in the component's own inject block |
ErrAttachmentSlotNearMiss() | attachment-slot-near-miss | attachment name is a near miss for a declared slot |
ErrAttachmentSlotShape() | attachment-slot-shape | attachment does not conform to its declared slot shape |
ErrConnectionAttachmentSlotUndeclared() | connection-attachment-slot-undeclared | a connection carries an attachment under a name its socket declares no slot for |
ErrDuplicateBoundaryComponent() | duplicate-boundary-component | component declared in more than one boundary: declare each component in exactly one boundary |
ErrDuplicateTriadIdentity() | duplicate-triad-identity | duplicate Aggregate/Manifest identity (metadata.name) in the Release directory |
ErrFeatureMergeConflict() | feature-merge-conflict | feature merge conflict: reconcile the Aggregate and Release declarations for the feature |
ErrGuardEntityViewInconsistency() | internal-catalog-view-disagreement | the compiler's own views of the catalog disagree |
ErrInheritedBoundaryDirectoryIsLiteral() | inherited-boundary-directory-is-literal | inherited boundary directory carries no template variable, so it resolves to the path the extended Release writes to |
ErrInjectDeliveryShape() | inject-delivery-shape | inject delivery: shape must be a list of entries, each `in:` with exactly one of `from:` or `value:` |
ErrInjectEntryAmbiguous() | inject-entry-ambiguous | inject entry carries both `value:` and `from:`; schema requires exactly one |
ErrInjectKeyCollision() | inject-key-collision | duplicate delivery key across inject sources |
ErrInvalidInjectKey() | invalid-inject-key | invalid inject key: the from-key must name a provides key its source publishes |
ErrInvalidParameterRef() | invalid-parameter-ref | invalid parameter reference: check the {{ .parameters.* }} expression names a declared parameter and parses as a Go template |
ErrMalformedRecipeReference() | malformed-recipe-reference | malformed recipe reference in a Manifest mapping value |
ErrManifestCrossBindingPillarCollision() | manifest-cross-binding-pillar-collision | Manifest annotation bindings collide on same Feature path+pillar |
ErrManifestImplementsMismatch() | manifest-implements-mismatch | Manifest mapping entry's recipe spec.implements does not match the mapped component-type / feature-type key |
ErrManifestReservedPrefix() | manifest-reserved-prefix | Manifest annotation binding uses reserved prefix |
ErrMisnamedSlotFill() | misnamed-slot-fill | attachment written under a name no slot declares fits a slot its component leaves empty |
ErrMissingRequiredFeature() | missing-required-feature | missing required feature: attach a Feature of the required type to the component |
ErrMissingRequiredSocket() | missing-required-socket | required uses socket not populated |
ErrParameterContractViolation() | parameter-contract-violation | parameter contract violated |
ErrParameterMissing() | parameter-missing | required parameter not supplied |
ErrProvidesKeyNotDeclared() | provides-key-not-declared | Recipe publishes a provides key its Component does not declare |
ErrReleaseChainComposesBothRoutingKeys() | release-chain-composes-both-routing-keys | release extends chain composes both named boundaries and top-level components: declare one routing shape across the chain, never both |
ErrSchemaConformance() | schema-conformance | authored pillar does not conform to its declared schema |
ErrSchemaContractCompileFailure() | schema-contract-compile-failure | declared schema contract could not be compiled into a usable schema, so nothing was validated against it: correct the contract where it is declared, or remove it if the configuration it covers needs no validation |
ErrSelfInjectForbidden() | self-inject-forbidden | self-inject on component without spec.inject allowlist |
ErrTriadRefUnresolvable() | triad-ref-unresolvable | Aggregate/Manifest reference unresolvable |
ErrUnknownUsesSocket() | unknown-uses-socket | unknown uses socket: name a socket the entity declares in its usesSchema — only a component's own uses block may name one the catalog did not declare |
ErrUnnormalizedRelease() | release-not-in-canonical-form | release reached resolve un-normalized (non-empty root components alongside a synthesized default boundary) |
ErrUnreadParameter() | unread-parameter | declared parameter is read by no reference in the Aggregate |
ErrUsesInjectValue() | uses-inject-value | inject entry on a connection carries `value:`; a connection delivers the target's published keys, each named with `from:` |
ErrUsesSocketNearMiss() | uses-socket-near-miss | uses socket name is a near miss for a declared socket |
ErrVerdictPluginTrustMismatch() | verdict-plugin-trust-mismatch | the digest recorded as trusted for this plugin does not match the digest its cached manifest reports |
ErrYAMLLoad() | document-not-loadable | file load failed: the file could not be read, or its bytes did not parse |
pkg/signing
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrKeylessLive() | keyless-signing-requires-network | signing: keyless signing requires a live identity provider, Fulcio, and Rekor |
ErrMixedSigningCredentials() | mixed-signing-credentials | signing: the references named together need different signing credentials, so nothing was signed |
ErrNoSignatureFound() | no-signature-found | signing: no signature found for an artifact that requires one |
ErrNoTrustedIdentities() | no-trusted-identities | signing: keyless verification requires at least one trusted identity |
ErrSignatureInvalid() | signature-invalid | signing: signature does not verify |
ErrSignatureVerificationFailed() | signature-verification-failed | signing: signature bundle does not verify |
ErrSigningPolicyRequiresSignature() | signing-policy-requires-signature | signing: signing policy requires a signature for this artifact kind; refusing to push unsigned content |
ErrTrustRootLoad() | trust-root-not-loadable | signing: cannot load pinned trust root |
ErrUnsignedPushRefused() | unsigned-push-refused | signing: registry requires signatures; refusing to push unsigned content |
ErrUnsupportedKey() | unsupported-key | signing: unsupported held-key type |
ErrUntrustedIdentity() | untrusted-identity | signing: signature identity is not trusted for this registry |
pkg/sourcecache
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrFetchIntegrity() | fetch-integrity | oci: content digest mismatch |
ErrFetchNotFound() | fetch-not-found | oci: artifact not found at remote source |
ErrFetchIntegrity()वही मान है जोpkg/oci.ErrFetchIntegrity()है, इसलिए किसी भी नाम से मिलान सफल होता है।ErrFetchNotFound()वही मान है जोpkg/oci.ErrFetchNotFound()है, इसलिए किसी भी नाम से मिलान सफल होता है।
pkg/sourcekind
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrOCIModuleSourceMalformed() | oci-module-source-malformed | the source does not name one artifact of its OCI module kind |
ErrUnknownKind() | unknown-source-kind | no source adapter serves the source kind |
pkg/sourceresolver
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrFetchIntegrity() | fetch-integrity | oci: content digest mismatch |
ErrFetchNetworkUnreachable() | fetch-network-unreachable | oci: network unreachable |
ErrFetchNotFound() | fetch-not-found | oci: artifact not found at remote source |
ErrFetchUnauthorized() | fetch-unauthorized | oci: authentication required or failed |
ErrNoAdapterRegistered() | source-adapter-not-registered | no source adapter is registered in this program for the source kind |
ErrFetchIntegrity()वही मान है जोpkg/oci.ErrFetchIntegrity()है, इसलिए किसी भी नाम से मिलान सफल होता है।ErrFetchNetworkUnreachable()वही मान है जोpkg/oci.ErrFetchNetworkUnreachable()है, इसलिए किसी भी नाम से मिलान सफल होता है।ErrFetchNotFound()वही मान है जोpkg/oci.ErrFetchNotFound()है, इसलिए किसी भी नाम से मिलान सफल होता है।ErrFetchUnauthorized()वही मान है जोpkg/oci.ErrFetchUnauthorized()है, इसलिए किसी भी नाम से मिलान सफल होता है।
pkg/sourceresolver/cacheslot
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrEmptyWorkspaceRoot() | empty-workspace-root | cacheslot: empty workspaceRoot |
pkg/sourceresolver/netrc
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrNetrcFileUnreadable() | netrc-file-unreadable | the netrc file could not be read |
ErrSourceURLCarriesCredential() | source-url-carries-credential | the source URL carries a credential |
pkg/types
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrArtifactEntryShape() | artifact-entry-shape | artifacts entry: shape must be a string scalar or {$import: <local-path>} |
ErrArtifactLibraryEntryShape() | artifact-library-entry-shape | artifactlibrary: entry must be a mapping of filename to a string body |
ErrForbiddenKeyword() | forbidden-keyword | schemalibrary: forbidden JSON Schema keyword |
ErrLibraryReferenceWhitespace() | library-reference-whitespace | library reference: a reference to a library entry carries no whitespace or line break |
ErrMalformedVersionPin() | malformed-version-pin | reference carries a malformed version pin |
ErrMappingEntryNotScalar() | mapping-entry-not-scalar | mappinglibrary: entry body must be a string scalar |
ErrOrderedMapDecodeDepthExceeded() | document-nesting-depth-exceeded | a document nests too many levels deep |
ErrParametersShape() | parameters-shape | parameters: shape must be an inline object or {$import: <local-path>} |
ErrTemplateNotFound() | template-not-found | schemalibrary: template not found |
ErrTemplateParamMissing() | template-param-missing | schemalibrary: template parameter missing |
ErrTemplateParamTypeMismatch() | template-param-type-mismatch | schemalibrary: template parameter type mismatch |
ErrValuesMappingShape() | values-mapping-shape | valuesmapping: shape must be a string scalar or {$import: <path-or-library-identity>} |
ErrWellKnownAnnotationScope() | well-known-annotation-scope | wellKnownAnnotations: a key is declared at a scope the provider's contract does not render |
ErrWorkloadEntryNotScalar() | workload-entry-not-scalar | workloadlibrary: entry body must be a string scalar |
ErrWorkloadTemplateShape() | workload-template-shape | workload: shape must be a string scalar or {$import: <path-or-library-identity>} |
pkg/usesedge
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrDanglingUsesTarget() | dangling-uses-target | uses edge target does not exist |
ErrReleaseEdgeRetarget() | release-edge-retarget | release edge retargets a developer-declared edge |
pkg/validator
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrAssertionNameCollision() | assertion-name-collision | assertion name declared twice across the extends chain |
ErrCyclicExtension() | cyclic-extension | cyclic extends chain |
ErrDuplicateContainerEnvironmentVariable() | duplicate-container-environment-variable | a container declares one environment variable twice |
ErrEmptySource() | recipe-source-is-empty | recipe source is an empty string, which names neither sourceless mode nor sourced mode |
ErrExtendsChainTooDeep() | extends-chain-too-deep | extends chain exceeds maximum depth |
ErrFeatureRecipeValuesMappingRequiresSource() | feature-recipe-values-mapping-requires-source | FeatureRecipe: valuesMapping requires source |
ErrInheritanceMerge() | extends-merge-failed | inheritance merge failed |
ErrRecipeFilenameCollisionAcrossInputKinds() | recipe-filename-collision-across-input-kinds | filename collision across input kinds: two input-kind blocks produced a file under one output name |
ErrRecipeNoInputKind() | recipe-no-input-kind | Recipe: at least one input kind required |
ErrRecipeOutputComponentLabelCollision() | recipe-output-component-label-collision | recipe output-component-labels constraint: key is also declared in outputLabels |
ErrRecipeOutputLabelReservedNamespace() | recipe-output-label-reserved-namespace | recipe output-labels constraint: key uses a reserved namespace |
ErrRecipeValuesMappingRequiresSource() | recipe-values-mapping-requires-source | Recipe: valuesMapping requires source |
ErrSlotNotReferenceable() | slot-not-referenceable | workload attachment slot is not referenceable |
ErrUnknownSchemaPillar() | unknown-schema-pillar | a schema block declares a key that names no data pillar |
ErrWorkloadFeaturesSchema() | workload-features-schema | workload featuresSchema cross-check failed |
ErrWorkloadValidation() | workload-not-valid | workload validation failed |
pkg/validator/envelope
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrDuplicatePipelineStepID() | duplicate-pipeline-step-id | a pipeline declares one step id twice |
ErrEntityEnvelope() | entity-envelope-invalid | document envelope validation failed |
ErrRetiredABIVersion() | retired-abi-version | a plugin declares a plugin ABI version this compiler no longer speaks |
ErrRetiredAPIVersion() | retired-api-version | a document declares an API version this compiler no longer reads |
pkg/validator/jsonschema
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrExtensionEval() | schema-extension-evaluation-failed | validator/jsonschema: x-aggrega extension evaluation failed |
ErrSchemaResolve() | schema-not-resolvable | validator/jsonschema: schema resolution failed |
pkg/validator/merger
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrMergeInvalid() | schema-merge-input-invalid | merger: invalid merge input |
pkg/workspaceconfig
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrAmbiguousRegistryAlias() | ambiguous-registry-alias | registry alias matches more than one host |
ErrCapabilityOnCrossCuttingSocket() | capability-on-cross-cutting-socket | a cross-cutting socket is bound by capability but attaches by uri |
ErrColonInProviderBindingCapability() | colon-in-provider-binding-capability | a provider socket binding names a capability containing a colon, which no Recipe can select |
ErrConfigInvalid() | workspace-config-invalid | workspace configuration is invalid |
ErrDuplicateImporterAttachment() | duplicate-importer-attachment | importer is attached by more than one plugins.importer entry |
ErrDuplicateProviderTarget() | duplicate-provider-target | capability is bound to more than one provider plugin |
ErrDuplicateRegistryAlias() | duplicate-registry-alias | registry alias is already used by another host |
ErrGovernanceRoleInvalid() | governance-role-invalid | a governance attachment declares no role or an unknown role |
ErrInertFieldOnProviderSocket() | inert-field-on-provider-socket | a provider socket binding sets a field with no referent on that socket |
pkg/writescope
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrWriteLeadsOutOfWorkspace() | write-leads-out-of-workspace | a path this operation writes or deletes leads through a link out of the directory it must stay inside |
pkg/yamlpos
| सेंटिनल | कोड | संदेश |
|---|---|---|
ErrPositionOutOfRange() | position-out-of-range | position out of range |
ऐसे सेंटिनल जो किसी अन्य सेंटिनल को रखते हैं
ErrCacheMetadataInvalid (pkg/sourceresolver/metadata) दूषित सोर्स-आर्टिफ़ैक्ट कैश स्लॉट की रिपोर्ट करता है। इसे अपनी अलग आइडेंटिटी के रूप में नहीं, बल्कि ErrFetchIntegrity() के चारों ओर एक रैपर के रूप में घोषित किया गया है, इसलिए यह ऊपर की तालिकाओं में नहीं आता और ErrFetchIntegrity() से मिलान इसके लिए भी सफल होता है। क्योंकि यह कोई सेंटिनल घोषित करने के बजाय एक सेंटिनल को रैप करता है, इसलिए इसे फ़ंक्शन के बजाय मान के रूप में एक्सपोर्ट किया जाता है: इससे ErrCacheMetadataInvalid के रूप में, बिना कोष्ठकों के, मिलान करें। जब आपको वह विशिष्ट स्थिति चाहिए तब रैपर से मिलान करें, और जब पूरी इंटीग्रिटी श्रेणी चाहिए तब रैप किए गए सेंटिनल से।
एक ही पैकेज में दूसरे नाम से पहुँच योग्य सेंटिनल
जहाँ कोई पैकेज एक स्थिति के लिए दो एक्सेसर एक्सपोर्ट करता है — दूसरा पहले की ओर आगे भेजने वाले फ़ॉरवर्ड के रूप में घोषित — वहाँ ऊपर की तालिकाएँ घोषणा करने वाला एक्सेसर रखती हैं और आगे भेजने वाले नाम को छोड़ देती हैं। दोनों नाम एक ही पैकेज से एक्सपोर्ट होते हैं, इसलिए जो इम्पोर्ट किसी एक तक पहुँचता है वह दूसरे तक पहले से पहुँचता है, और दूसरी पंक्ति एक ही स्थिति को ऐसे नाम के अंतर्गत दो बार सूचीबद्ध करती जो किसी नई चीज़ से मेल नहीं खाता। किसी भी नाम से मिलान सफल होता है: फ़ॉरवर्ड वही मान लौटाता है जो घोषणा करने वाला एक्सेसर लौटाता है।
यह क्रॉस-पैकेज मामला नहीं है। किसी अन्य पैकेज से फिर से एक्सपोर्ट किया गया सेंटिनल हर पैकेज की तालिका में एक पंक्ति रखता है, क्योंकि उन पैकेज में से एक को इम्पोर्ट करने वाला मैचर दूसरे पैकेज को भी इम्पोर्ट किए बिना उसके नाम तक नहीं पहुँच सकता; एक ही पैकेज के भीतर के फ़ॉरवर्ड को दूसरी पंक्ति की ज़रूरत नहीं होती, क्योंकि एक इम्पोर्ट दोनों नामों तक पहुँचता है।
pkg/catalog में ErrDuplicateRecipeIdentity() ऐसा ही एक फ़ॉरवर्ड है: यह ErrDuplicateEntityIdentity() लौटाता है, और उस पैकेज की तालिका यही नाम रखती है।
ऐसी स्थितियाँ जिनका कोई मिलान योग्य सेंटिनल नहीं है
कुछ कंपाइलेशन चरण अपने सेंटिनल ऐसे पैकेज में घोषित करते हैं जिन्हें कंपाइलर एक्सपोर्ट नहीं करता, इसलिए errors.Is के लिए रेफ़र करने को कुछ नहीं है और उनके विरुद्ध कोई मैचर नहीं लिखा जा सकता। उन्हें तालिका में रखने के बजाय यहाँ वर्णित किया गया है, क्योंकि इस पेज की तालिका इस बात का वादा है कि बाएँ कॉलम को डीरेफ़रेंस किया जा सकता है।
उनके डायग्नोस्टिक उत्सर्जित त्रुटि टेक्स्ट के ज़रिए और संदेश-आधारित दृश्यों के ज़रिए — विशेष रूप से fatal-halts.md — पूरे के पूरे आप तक पहुँचते हैं, और यही उन्हें पहचानने का समर्थित तरीका है:
- टोपोलॉजी निर्माण (ग्राफ़ निर्माण और उप-एग्रीगेट समतलीकरण) ऐसे उप-Aggregate की रिपोर्ट करता है जिसे लोड नहीं किया जा सका, पहुँच से बाहर Aggregate URI का नाम लेते हुए; ऐसी
uses:घोषणा की जिसका संरचनात्मक आकार स्कीमा से मेल नहीं खाता; नेस्टिंग की गहराई पार होने की; और समतल नोड-ID की टक्कर की, जहाँ दो उप-Aggregates एक ही नोड ID में कंपाइल होते हैं और अस्पष्टता दूर करने के लिए एक इंस्टेंस नाम बदलना पड़ता है। - ग्राफ़ अंतिमीकरण (Aggregate और Release सतहों के पार Feature का मर्ज) ऐसे Feature टाइप की रिपोर्ट करता है जो दोनों के बीच असंगत रूप से घोषित है।
- स्टैटिक एनालिसिस (सेलेक्टर मूल्यांकन और क्रॉस-नोड टाइप-सुरक्षा जाँच)
selector:उल्लंघन की रिपोर्ट करता है; कैटलॉग-रिज़ॉल्यूशन की ऐसी चूक की जिसके आगे वह नहीं बढ़ सकता, पहुँच से बाहर एंटिटी का नाम लेते हुए; और पॉलिसी अस्वीकृति की, जहाँ किसी गवर्नेंस निर्णय भूमिका पर अटैच किए गए प्लगइन ने असेंबल किए गए बिल्ड को अस्वीकार कर दिया। पॉलिसी अस्वीकृतिPOLICY_ERRORश्रेणी, अस्वीकार करने वाले प्लगइन का नाम, और प्लगइन द्वारा दिया गया नियम संदेश वहन करती है। - रेंडरिंग (प्रोवाइडर डिस्पैच और प्रति-प्रोवाइडर रेंडरिंग) अज्ञात प्रोवाइडर की रिपोर्ट करती है।
- एम्बेडेड Wasm होस्ट लोडर अपने स्वयं के गार्डरेल सेंटिनल उत्सर्जित करता है — मैनिफ़ेस्ट-अस्वीकृत गार्डरेल (किसी प्लगइन ने ऐसी रनटाइम-एक्सेस क्षमता माँगी जिसे AOT-शुद्धता फ़ायरवॉल अस्वीकार करता है), गेस्ट-पैनिक रिकवरी, और नियतात्मक प्लगइन-एग्ज़िट ट्रैप। ये प्लगइन चलाते समय (उदाहरण के लिए
aggrega lintके ज़रिए) उपयोगकर्ता के सामने आने वाले डायग्नोस्टिक में दिखाई देते हैं। होस्ट के विरुद्ध किसी गेस्ट का परीक्षण करने वाले Plugin लेखक इन्हीं स्थितियों तक ऊपर सूचीबद्धpkg/plugintestके ज़रिए इम्पोर्ट योग्य नाम से पहुँचते हैं।
किसी पाइपलाइन को विशेष रूप से पॉलिसी अस्वीकृति पर गेट करने के लिए, सेंटिनल के बजाय डायग्नोस्टिक में POLICY_ERROR श्रेणी उपसर्ग से मिलान करें; श्रेणी त्रुटि सतह का एक प्रलेखित हिस्सा है, जिसका वर्णन error-translation.md में है।
हर स्थिति, शॉर्ट कोड के अनुसार
नीचे की तालिका खोज को उलटी दिशा में चलाती है: बाएँ कॉलम में शॉर्ट कोड, और उसके बगल में वह स्थिति जिसका नाम वह कोड लेता है और वह टेक्स्ट जिसे वह स्थिति रेंडर करती है। यह उन सभी स्थितियों को कवर करती है जिन्हें aggrega रिपोर्ट कर सकता है, उन स्थितियों सहित जिन्हें ऊपर के अनुभाग सूचीबद्ध नहीं कर सकते।
यह व्यापक कवरेज इस तालिका का संयोग नहीं, बल्कि उसका उद्देश्य है। ऊपर के अनुभाग ऐसे नाम पर आधारित हैं जिसे आप इम्पोर्ट कर सकते हैं, इसलिए केवल ऐसे पैकेज में घोषित स्थिति के पास, जिसे आप इम्पोर्ट नहीं कर सकते — और जो ऐसी किसी जगह फिर से एक्सपोर्ट भी नहीं की गई जिसे आप इम्पोर्ट कर सकें — उनके बाएँ कॉलम में रखने के लिए कुछ नहीं होता। यह तालिका शॉर्ट कोड पर आधारित है, और हर स्थिति के पास एक शॉर्ट कोड होता है, इसलिए रिपोर्ट की जा सकने वाली कोई भी स्थिति इसके बाहर नहीं रहती। आपके पास मौजूद शॉर्ट कोड यहाँ रिज़ॉल्व होता है, चाहे उसके पीछे की स्थिति के पास ऐसा एक्सेसर भी हो या न हो जिससे आप मिलान कर सकें।
इस तालिका में जगह इसी से मिलती है कि कंपाइलर वास्तव में उस स्थिति की रिपोर्ट कर सकता है। पंक्तियाँ तालिका में हाथ से उतारी नहीं जातीं, बल्कि कोड से व्युत्पन्न होती हैं: कोई स्थिति यहाँ इसलिए दिखाई देती है कि कंपाइलर में कुछ उसे उठाता है, इसलिए बाएँ कॉलम का हर कोड ऐसा है जिसे aggrega प्रिंट कर सकता है। यही वह वादा है जो तालिका करती है, और यही आपको किसी पंक्ति को ऐसी जाँच के रूप में पढ़ने देता है जो वास्तव में चलती है।
जानबूझकर रखा गया अपवाद ऐसी स्थिति है जो उसकी रिपोर्ट करने वाले कोड के अस्तित्व में आने से पहले घोषित की गई है, ताकि कोड और शब्द पहले से तय हों और किसी ऐसे पाठक के सामने कभी न बदलें जो उन्हें पहले ही उद्धृत कर चुका है। ऐसी स्थिति तालिका के ठीक नीचे एक नोट में यह बताती है। उसे छिपाने के बजाय सूचीबद्ध किया जाता है — आपके पास मौजूद कोड हमेशा रिज़ॉल्व होना चाहिए — और उसके बगल का नोट आपको साफ़-साफ़ बताता है कि अभी कोई बिल्ड उसे नहीं उठाता, और किसी बिल्ड के उसे उठाने से पहले क्या मौजूद होना ज़रूरी होगा।
सेवानिवृत्त संख्या भी सूचीबद्ध होती है, तालिका के नीचे नोट के अपने समूह में, और वह स्थायी रूप से सूचीबद्ध रहती है। कभी-कभी कोई स्थिति वापस ले ली जाती है — उसकी जगह अधिक क्षेत्र कवर करने वाली कोई स्थिति ले लेती है, या किसी चीज़ ने कभी उसकी रिपोर्ट ही नहीं की — और उसी क्षण से उसकी संख्या सेवानिवृत्त हो जाती है: वह कभी किसी अलग स्थिति को नहीं दी जाती, इसलिए किसी पुरानी रिपोर्ट से आप जो शॉर्ट कोड उद्धृत करते हैं, वह केवल उसी का नाम ले सकता है जिसका नाम उसने रिपोर्ट लिखे जाते समय लिया था। यह वादा संपादकीय नहीं, बल्कि यांत्रिक है। सेवानिवृत्त संख्या के अंतर्गत घोषित स्थिति, कंपाइलर द्वारा कोई भी इनपुट पढ़ने से पहले, हर रन पर अस्वीकार कर दी जाती है, इसलिए कोई भी रिलीज़ ऐसी स्थिति नहीं रख सकती — यह उसी प्रकार की अस्वीकृति है जो तब होती जब दो सक्रिय स्थितियाँ एक संख्या साझा करने का प्रयास करतीं, और इसके शब्द ऐसे हैं कि आप जान सकें कि दोनों में से किससे आपका सामना हुआ। सेवानिवृत्त कोड का नोट आपको बताता है, जहाँ सेवानिवृत्ति ने इसे दर्ज किया, कि कोड किसका नाम लेता था और, जहाँ स्थिति को प्रतिस्थापित किया गया, कि अब कौन-सा कोड उस क्षेत्र की रिपोर्ट करता है।
किसी संख्या का कभी दोबारा उपयोग न करना ही अनुक्रम को उसके स्थायी अंतराल भी देता है, और नोट ही उन अंतरालों को पढ़ने योग्य बनाते हैं। कोई गायब संख्या अपने आप में किसी भी बात का प्रमाण नहीं है: वह सेवानिवृत्त हो सकती है, और उतनी ही संभावना से ऐसी भी हो सकती है जिस तक अभी तक कुछ नहीं पहुँचा। नोट इस बात का रिकॉर्ड हैं कि कौन-सी संख्याएँ सेवानिवृत्त हैं और, जहाँ यह दर्ज किया गया, उनमें से हर एक किसका नाम लेती थी, इसलिए जो कोड न किसी पंक्ति पर रिज़ॉल्व होता है न किसी नोट पर, वह ऐसा कोड है जिसे इस कंपाइलर ने कभी जारी नहीं किया।
शॉर्ट कोड जानबूझकर अपारदर्शी है: चार अंक अपने आप में किसी स्थिति के बारे में कुछ नहीं कहते, और यही उस पहचानकर्ता की कीमत है जो पढ़कर सुनाने, खोज में टाइप करने, या किसी रिपोर्ट में पेस्ट करने के लिए पर्याप्त छोटा है। नीचे दिया गया मिलान ही इसे उपयोगी बनाता है। कोई संख्या एक ही आरोही अनुक्रम से एक बार दी जाती है, और उसके बाद से स्थिर रहती है; वह जिस स्थिति का नाम लेती है उसके बारे में कुछ नहीं कहती। इसलिए शॉर्ट कोड एक पहचानकर्ता है और इससे अधिक कुछ नहीं — उसका मान कोई वर्गीकरण नहीं है, और न वह, न तालिका में आपको दिखने वाला कोई समूहीकरण, इस बात का मार्गदर्शक है कि कोई स्थिति कहाँ रहती है या किस बारे में है।
तालिका में कोई श्रेणी कॉलम नहीं है, और यह कोई चूक नहीं है: श्रेणी उसके पीछे की स्थिति का नहीं, बल्कि किसी विशेष विफलता का गुण है। कुछ स्थितियाँ अपनी बनावट से ही एक श्रेणी की होती हैं। अन्य के लिए श्रेणी उस एंटिटी kind से निकलती है जिसके बारे में विफलता है, इसलिए ऐसी कोई स्थिति, एक बार किसी Aggregate के विरुद्ध और एक बार किसी Release के विरुद्ध रिपोर्ट की गई, हर बार अलग श्रेणी रखती है — और यहाँ स्थिति के बगल में लिखा गया एक अकेला मान उस दूसरी तरह की हर स्थिति के लिए गलत होता।
श्रेणियाँ error-translation.md में सिखाई जाती हैं — हर एक, उसका अर्थ क्या है, और उसका सुधार कहाँ होता है। श्रेणी और शॉर्ट कोड एक ही विफलता के बारे में अलग-अलग प्रश्नों के उत्तर देते हैं: श्रेणी उस सतह की पहचान करती है जिस पर सुधार होना है, और शॉर्ट कोड यह पहचानता है कि किस स्थिति ने बिल्ड रोका। दोनों में से कोई भी दूसरे से व्युत्पन्न नहीं किया जा सकता, इसीलिए हर एक की अपनी प्रकाशित सूची है — और इसीलिए ऐसी विफलता भी, जिसके पास नाम लेने के लिए कोई ऑथरिंग सतह नहीं है, ऐसा कोड रखती है जिसे आप यहाँ खोज सकते हैं।
| कोड | स्थिति | संदेश |
|---|---|---|
E0001 | no-plugin-resolution-configured | cliplugin: no plugin resolver configured |
E0003 | malformed-attachment-requirement | malformed attachment requirement |
E0004 | overridden-annotation | annotation contribution overridden by an explicit value |
E0005 | policy-violation | policy violation |
E0006 | required-slot-unfilled | required attachment slot unfilled |
E0007 | selector-violation | selector violation |
E0008 | slot-selector-unsatisfied | attachment slot selector unsatisfied |
E0009 | pipeline-contract-violation | pipeline step typed-I/O contract violation |
E0010 | pipeline-step-failed | pipeline step failed |
E0011 | pipeline-target-absent | pipeline patch targets a document not present in the set |
E0012 | pipeline-target-opaque | pipeline patch targets an opaque (non-structured) unit |
E0013 | feature-type-mismatch | feature type mismatch between Aggregate and Release |
E0014 | inject-entry-ambiguous | inject entry carries both `value:` and `from:`; schema requires exactly one |
E0015 | uses-inject-forbidden | uses-edge inject dictates a delivery mechanism the socket does not permit |
E0016 | patch-test-operation-failed | jsonpatch: test operation failed |
E0017 | annotation-injection-rejected | annotation-transform plugin output was rejected: an injection targets a component coordinate the host did not supply, or carries a value that is not a string or an object of subkeys |
E0018 | policy-settings-invalid | policy attachment settings do not satisfy the plugin's declared settings schema |
E0019 | endpoint-requires-reference-form | endpoint requires form: reference |
E0020 | invalid-cron-schedule | schedule is not a valid cron expression |
E0021 | persistent-template-requires-stateful-form | persistentTemplate volume requires form: stateful |
E0022 | pipeline-patch-target-not-structured | pipeline PATCH target is not parseable structured YAML/JSON |
E0023 | reference-form-requires-endpoint | form: reference requires an endpoint |
E0024 | schedule-requires-scheduled-form | schedule requires form: scheduled |
E0025 | scheduled-form-requires-schedule | form: scheduled requires a schedule |
E0026 | artifact-content-mismatch | imported artifact content does not match the digest recorded for it in entity.lock |
E0027 | artifact-import-shape | artifacts $import: is not a bare-name artifact-library reference (<Library>#/artifacts/<entry>) |
E0028 | artifact-output-collision | artifacts output filename collision: two artifact outputs carry the same filename |
E0029 | artifact-pillar-not-declared | artifact template references a pillar the Recipe does not declare |
E0030 | artifact-library-entry-not-found | artifact-library import references a bundle not present in the ArtifactLibrary |
E0031 | artifact-library-not-found | artifact-library import references an ArtifactLibrary not present in the catalog |
E0032 | assembled-output-collision | assembled output collision: two contributors write the same output path |
E0033 | authored-assertion-failed | assertion failed |
E0034 | attachment-inject-key-collision | duplicate delivery key across attachment-inject and another inject source |
E0035 | boundary-assembly-not-provided | provider expected to assemble its dispatch group provides no boundary assembler |
E0036 | chart-name-mismatch | merged-path assembly has conflicting assembly-name annotation values |
E0037 | cross-provider-link-unsupported | cross-boundary link between endpoints rendered by different providers is not supported |
E0038 | derived-key-collision | derived name collision: one name is derived more than once in one key space |
E0039 | featurerecipe-template-invalid-field | FeatureRecipe template references a per-component-only field with executionScope: boundary |
E0040 | host-in-library-import | library $import: carries a registry host; reference the library by bare-name identity |
E0041 | instance-id-collision | multiple contributors share an instance ID at the same dispatch path |
E0042 | locals-forward-reference | locals entry references a sibling defined later in the same block |
E0043 | locals-unknown-reference | template references a key the locals block does not declare |
E0044 | mapping-entry-not-found | mapping-library import references an entry not present in the MappingLibrary |
E0045 | mapping-import-shape | valuesMapping $import: is not a bare-name mapping-library reference (<Library>#/mappings/<entry>) |
E0046 | mapping-library-not-found | mapping-library import references a MappingLibrary not present in the catalog |
E0047 | orphan-cross-boundary-link-placeholder | assembled output retains an unresolved cross-boundary link placeholder |
E0048 | path-collision | dispatch path produced multiple provider outputs |
E0049 | path-template-invalid-field | path template references a field not in the documented allowlist |
E0050 | pipeline-host-scope-unavailable | pipeline /host operation from a step with no host component |
E0051 | pipeline-patch-targets-unassembled-fragments | pipeline PATCH targets an assembler provider's pre-assembly fragments |
E0052 | pipeline-target-not-emitted | pipeline PATCH targets a document the node did not emit |
E0053 | plugin-provider-incompatible | pipeline plugin is not compatible with the rendering provider |
E0054 | provider-node-input-invalid | provider rejected node input |
E0055 | provides-contract-unfulfilled | Recipe or FeatureRecipe does not publish a provides key its abstract entity's schema.provides contract declares |
E0056 | provides-evaluation-failed | provides template evaluation failed |
E0057 | provides-self-containment | provides block references a root outside the self-contained set |
E0058 | render-nondeterministic | provider render is not deterministic |
E0059 | self-inject-key-collision | duplicate delivery key across self-inject and uses-inject |
E0060 | template-unknown-root | template references a root the render context does not define |
E0061 | unknown-provider | unknown provider |
E0062 | custom-mechanism-has-no-mapping | custom inject mechanism has no matching key in injectMapping output; add the mechanism's key to the Recipe injectMapping |
E0063 | workload-entry-not-found | workload-library import references an entry not present in the WorkloadLibrary |
E0064 | workload-import-shape | workload $import: is not a bare-name workload-library reference (<Library>#/workloads/<entry>) |
E0065 | workload-library-not-found | workload-library import references a WorkloadLibrary not present in the catalog |
E0066 | dangling-uses-target | uses edge target does not exist |
E0067 | active-toggle-not-a-boolean | active toggle did not resolve to a boolean |
E0068 | sub-aggregate-nesting-depth-exceeded | max sub-aggregate nesting depth exceeded |
E0069 | mutator-patch-rejected | mutator patch rejected |
E0070 | reexport-cycle | re-exported component alias forms a cycle |
E0071 | release-edge-retarget | release edge retargets a developer-declared edge |
E0072 | sub-aggregate-not-loadable | sub-aggregate load failed |
E0073 | sub-aggregate-name-collision | flattened node ID collision: rename one of the colliding instances so their flattened IDs differ |
E0074 | unbound-release-edge-config | release per-edge configuration has no edge to apply to |
E0075 | aggregate-not-in-canonical-form | aggregate reached topology un-normalized (non-empty root components alongside a synthesized default subsystem) |
E0076 | unplaced-sub-module | sub-module placed in no boundary: route it into a boundary under `aggregates`, or name its components there under `components` |
E0077 | uses-target-not-active | uses edge target was pruned because its active toggle resolved to false |
E0078 | wasm-nested-producer-consumption-denied | producer-consumption re-entry denied: a producer reached through the host may not issue a further producer-consumption call |
E0079 | wasm-command-set-mismatch | wasm: recorded command mirror does not match plugin describe() |
E0080 | wasm-contract-mismatch | wasm: entity contract claim does not match plugin describe() |
E0081 | wasm-diagnostic-severity-invalid | wasm: guest plugin returned a diagnostic whose severity the contract does not declare |
E0082 | wasm-guest-error | wasm: guest plugin reported an error |
E0083 | wasm-guest-panic | wasm: guest plugin panicked during call |
E0084 | wasm-host-function-set-mismatch | wasm: stamped host-function record does not match .wasm imports |
E0085 | wasm-manifest-rejected | wasm: plugin rejected by the sandbox |
E0086 | wasm-plugin-exited | wasm: plugin invoked proc_exit |
E0087 | wasm-plugin-type-mismatch | wasm: declared plugin type does not match plugin describe() |
E0088 | wasm-plugin-version-mismatch | wasm: entity metadata.version does not match plugin describe() |
E0089 | all-versions-retracted | every published version this reference could select has been withdrawn |
E0090 | ambiguous-importer-plugin | format is advertised by more than one importer plugin |
E0091 | ambiguous-parser-plugin | format is advertised by more than one parser plugin |
E0092 | ambiguous-provider-plugin | capability is served by more than one provider plugin; add a plugins.providers entry to select one |
E0093 | ambiguous-type-mapping | Manifest maps multiple version-distinct keys to the same base type; the type-to-recipe lookup is ambiguous |
E0094 | duplicate-entity-identity | duplicate entity identity within a single catalog directory |
E0095 | malformed-recipe-reference | malformed recipe reference in a Manifest mapping value |
E0096 | manifest-implements-mismatch | Manifest mapping entry's recipe spec.implements does not match the mapped component-type / feature-type key |
E0097 | no-importer-for-format | no importer plugin advertises the requested format |
E0098 | no-parser-for-format | no parser plugin advertises the requested format |
E0099 | no-recipe-resolved | no recipe resolved for component/feature instance: add an explicit Manifest mapping for its type |
E0100 | provider-binding-unsatisfied | plugins.providers entry names a plugin no provider-rendering plugin serving the capability matches |
E0101 | provider-version-unsatisfiable | no provider-rendering plugin version satisfies the recipe's provider version pin |
E0102 | plugin-reference-must-not-be-registry-qualified | wasm plugin reference must be the plugin coordinate identity (<pluginType>/<name>:<version>), not a registry-qualified or artifact path |
E0103 | unsatisfiable-entity-version | no catalog version satisfies the referenced version constraint |
E0104 | plugin-reference-must-be-scoped | wasm plugin reference must carry a pluginType scope (<pluginType>/<name>); an empty scope cannot bind to an OCI location |
E0105 | recipe-reference-must-be-scoped | recipe reference must be provider-scoped (<provider>/<name>); an empty provider cannot bind to an OCI location |
E0106 | invalid-library-ref | resolve: invalid library reference URI |
E0107 | version-selection-conflict | resolve: consumers of one library require versions in incompatible majors |
E0108 | catalog-cannot-load-sub-aggregate-bodies | resolve: catalog lookup cannot load resolved sub-aggregate bodies |
E0109 | catalog-cannot-load-recipe-bodies | resolve: catalog lookup cannot load resolved recipe and plugin bodies |
E0110 | source-template-at-lock-time | resolve: source-template evaluation failure at lock time |
E0111 | source-template-not-parsable | resolve: source-template parse error |
E0112 | source-template-provides-ref | resolve: source-template references .provides (invalid reverse reference) |
E0113 | sub-aggregate-depth | resolve: sub-aggregate inclusion depth exceeded |
E0114 | unresolvable-uri | resolve: no entity in the catalog matches this URI |
E0115 | ambiguous-dispatch | compactform: ambiguous dispatch — $mode required |
E0116 | constraint-type-mismatch | compactform: constraint not valid for declared type |
E0117 | escape-content-invalid | compactform: $jsonschema content invalid |
E0118 | host-in-library-ref | compactform: cross-document $ref carries a registry host; reference the library by identity |
E0119 | reference-unresolvable | compactform: $ref unresolvable |
E0120 | unknown-keyword | compactform: unknown keyword |
E0121 | unresolved-schema-library-ref | compactform: cross-document $ref target not found |
E0122 | deprecated-entity | deprecation: build consumes a deprecated entity |
E0123 | not-docs-bundle | docscache: artifact is not a documentation bundle |
E0124 | page-not-found | docscache: page not found in documentation bundle |
E0125 | offline-egress | egress: network access refused because the workspace is offline; remediation: pass `--offline=false` to allow the network for this one run, or clear the top-level `offline` key in the configuration file (or AGGREGA_OFFLINE) to allow it from now on; where the work is a build that needs content the machine does not have, run `aggrega pull --release <release>` from a connected environment first to populate the cache |
E0126 | acquisition-disabled | externalinputs: acquisition is disabled for unpinned inputs |
E0127 | digest-mismatch | externalinputs: fetched bytes mismatch the pinned digest |
E0128 | scheme-not-allowed | externalinputs: URL scheme is not allowed |
E0129 | store-corrupt | externalinputs: store blob mismatches its pinned record |
E0130 | lockfile-drift | lockfile: out of date; it no longer matches what its Release resolves to |
E0131 | lockfile-invalid | lockfile: file failed schema validation |
E0132 | ambiguous-content-layer | oci: manifest has multiple layers of the expected content media type |
E0133 | cached-manifest-integrity | oci: cached manifest digest mismatch |
E0135 | fetch-integrity | oci: content digest mismatch |
E0136 | fetch-network-unreachable | oci: network unreachable |
E0137 | fetch-not-found | oci: artifact not found at remote source |
E0138 | fetch-unauthorized | oci: authentication required or failed |
E0139 | immutable-tag-conflict | oci: tag already published with different content |
E0140 | no-content-layer | oci: manifest has no layer of the expected content media type |
E0141 | oci-location-collision | oci: distinct catalog identities map to the same OCI repository location |
E0142 | referrer-discovery-unavailable | oci: referrer discovery could not be completed |
E0143 | unknown-entity-kind | oci: unknown entity kind for mediatype dispatch |
E0144 | signature-bundle-digest-mismatch | cached signature bundle does not match its recorded digest |
E0145 | plugin-entity-not-found | plugin reference is not a Plugin entity |
E0146 | reference-cycle | circular reference expansion |
E0147 | malformed-trust-policy | registrytrust: advertised trust config is malformed |
E0148 | no-trust-advertised | registrytrust: registry advertises no trust config |
E0149 | attachment-slot-near-miss | attachment name is a near miss for a declared slot |
E0150 | attachment-slot-shape | attachment does not conform to its declared slot shape |
E0151 | duplicate-boundary-component | component declared in more than one boundary: declare each component in exactly one boundary |
E0152 | duplicate-triad-identity | duplicate Aggregate/Manifest identity (metadata.name) in the Release directory |
E0153 | feature-merge-conflict | feature merge conflict: reconcile the Aggregate and Release declarations for the feature |
E0154 | internal-catalog-view-disagreement | the compiler's own views of the catalog disagree |
E0155 | inject-key-collision | duplicate delivery key across inject sources |
E0156 | invalid-inject-key | invalid inject key: the from-key must name a provides key its source publishes |
E0158 | invalid-parameter-ref | invalid parameter reference: check the {{ .parameters.* }} expression names a declared parameter and parses as a Go template |
E0160 | manifest-cross-binding-pillar-collision | Manifest annotation bindings collide on same Feature path+pillar |
E0161 | manifest-reserved-prefix | Manifest annotation binding uses reserved prefix |
E0162 | missing-required-feature | missing required feature: attach a Feature of the required type to the component |
E0163 | missing-required-socket | required uses socket not populated |
E0164 | parameter-contract-violation | parameter contract violated |
E0165 | parameter-missing | required parameter not supplied |
E0167 | provides-key-not-declared | Recipe publishes a provides key its Component does not declare |
E0168 | schema-conformance | authored pillar does not conform to its declared schema |
E0169 | self-inject-forbidden | self-inject on component without spec.inject allowlist |
E0170 | triad-ref-unresolvable | Aggregate/Manifest reference unresolvable |
E0171 | unknown-uses-socket | unknown uses socket: name a socket the entity declares in its usesSchema — only a component's own uses block may name one the catalog did not declare |
E0172 | release-not-in-canonical-form | release reached resolve un-normalized (non-empty root components alongside a synthesized default boundary) |
E0173 | unread-parameter | declared parameter is read by no reference in the Aggregate |
E0174 | uses-socket-near-miss | uses socket name is a near miss for a declared socket |
E0175 | document-not-loadable | file load failed: the file could not be read, or its bytes did not parse |
E0176 | keyless-signing-requires-network | signing: keyless signing requires a live identity provider, Fulcio, and Rekor |
E0177 | no-signature-found | signing: no signature found for an artifact that requires one |
E0178 | no-trusted-identities | signing: keyless verification requires at least one trusted identity |
E0179 | signature-invalid | signing: signature does not verify |
E0180 | signature-verification-failed | signing: signature bundle does not verify |
E0181 | signing-policy-requires-signature | signing: signing policy requires a signature for this artifact kind; refusing to push unsigned content |
E0182 | trust-root-not-loadable | signing: cannot load pinned trust root |
E0183 | unsigned-push-refused | signing: registry requires signatures; refusing to push unsigned content |
E0184 | unsupported-key | signing: unsupported held-key type |
E0185 | untrusted-identity | signing: signature identity is not trusted for this registry |
E0186 | unknown-source-kind | no source adapter serves the source kind |
E0187 | empty-workspace-root | cacheslot: empty workspaceRoot |
E0188 | artifact-entry-shape | artifacts entry: shape must be a string scalar or {$import: <local-path>} |
E0189 | artifact-library-entry-shape | artifactlibrary: entry must be a mapping of filename to a string body |
E0190 | forbidden-keyword | schemalibrary: forbidden JSON Schema keyword |
E0191 | mapping-entry-not-scalar | mappinglibrary: entry body must be a string scalar |
E0192 | document-nesting-depth-exceeded | a document nests too many levels deep |
E0193 | parameters-shape | parameters: shape must be an inline object or {$import: <local-path>} |
E0194 | template-not-found | schemalibrary: template not found |
E0195 | template-param-missing | schemalibrary: template parameter missing |
E0196 | template-param-type-mismatch | schemalibrary: template parameter type mismatch |
E0197 | values-mapping-shape | valuesmapping: shape must be a string scalar or {$import: <path-or-library-identity>} |
E0198 | well-known-annotation-scope | wellKnownAnnotations: a key is declared at a scope the provider's contract does not render |
E0199 | workload-entry-not-scalar | workloadlibrary: entry body must be a string scalar |
E0200 | workload-template-shape | workload: shape must be a string scalar or {$import: <path-or-library-identity>} |
E0201 | assertion-name-collision | assertion name declared twice across the extends chain |
E0202 | cyclic-extension | cyclic extends chain |
E0204 | feature-recipe-values-mapping-requires-source | FeatureRecipe: valuesMapping requires source |
E0205 | extends-merge-failed | inheritance merge failed |
E0207 | recipe-output-component-label-collision | recipe output-component-labels constraint: key is also declared in outputLabels |
E0208 | recipe-output-label-reserved-namespace | recipe output-labels constraint: key uses a reserved namespace |
E0209 | recipe-values-mapping-requires-source | Recipe: valuesMapping requires source |
E0210 | recipe-no-input-kind | Recipe: at least one input kind required |
E0211 | recipe-filename-collision-across-input-kinds | filename collision across input kinds: two input-kind blocks produced a file under one output name |
E0212 | slot-not-referenceable | workload attachment slot is not referenceable |
E0213 | workload-features-schema | workload featuresSchema cross-check failed |
E0214 | workload-not-valid | workload validation failed |
E0215 | entity-envelope-invalid | document envelope validation failed |
E0216 | schema-extension-evaluation-failed | validator/jsonschema: x-aggrega extension evaluation failed |
E0218 | schema-not-resolvable | validator/jsonschema: schema resolution failed |
E0220 | extends-chain-too-deep | extends chain exceeds maximum depth |
E0221 | schema-merge-input-invalid | merger: invalid merge input |
E0222 | ambiguous-registry-alias | registry alias matches more than one host |
E0223 | capability-on-cross-cutting-socket | a cross-cutting socket is bound by capability but attaches by uri |
E0224 | workspace-config-invalid | workspace configuration is invalid |
E0225 | duplicate-provider-target | capability is bound to more than one provider plugin |
E0226 | duplicate-registry-alias | registry alias is already used by another host |
E0227 | governance-role-invalid | a governance attachment declares no role or an unknown role |
E0228 | inert-field-on-provider-socket | a provider socket binding sets a field with no referent on that socket |
E0229 | position-out-of-range | position out of range |
E0246 | verdict-plugin-trust-mismatch | the digest recorded as trusted for this plugin does not match the digest its cached manifest reports |
E0247 | verdict-attachment-not-configured | a plugin recorded as trusted for an accept-or-reject verdict is no longer attached at any verdict role |
E0248 | wasm-output-shape | wasm: guest plugin returned an output that is not the shape the socket reads |
E0250 | nest-segment-not-one-directory | provider named a directory for each contributor's own sub-directory that is not a single directory name |
E0251 | recipe-source-is-empty | recipe source is an empty string, which names neither sourceless mode nor sourced mode |
E0252 | artifact-library-file-escapes-key | artifact-library bundle file name does not name a file of its own beneath the artifacts key its output is nested under |
E0253 | annotation-binding-target-unresolved | annotation binding does not resolve against its target Feature |
E0254 | annotation-subkey-not-conforming | annotation subkey does not conform to the target Feature's schema at the routed pillar |
E0255 | annotation-side-pillar-mismatch | annotation routes through a pillar its authoring side may not use |
E0256 | annotation-binding-pillar-overlap | annotation binding declares one path in both pillar lists |
E0257 | schema-contract-compile-failure | declared schema contract could not be compiled into a usable schema, so nothing was validated against it: correct the contract where it is declared, or remove it if the configuration it covers needs no validation |
E0259 | boundary-scope-attachment-not-declared-at-a-boundary | attachment binds a FeatureRecipe with executionScope: boundary and no boundary holding the component declares it |
E0260 | unplaced-component | component placed in no boundary: name it under a boundary's `components`, or place the sub-module that contributes it under `aggregates` |
E0261 | unresolved-boundary-component | boundary names a component the composition does not hold: correct the name, or remove the entry |
E0262 | unusable-component-identity | component identity cannot be the name its emitted resources are stamped with: rename the component |
E0263 | component-identity-target-refuses | the target will not accept a name derived from this component's authored identity: rename the component |
E0264 | provider-refused-every-component-identity | provider guest never accepted a component identity the compiler composed for it |
E0265 | unsupported-input-kind | provider does not support the node's input kind |
E0266 | unusable-schema-import | a schema `$import:` could not be applied |
E0267 | unknown-schema-pillar | a schema block declares a key that names no data pillar |
E0268 | pipeline-patch-unit-not-carved | reassemble names a patched unit token the carve did not produce; a conforming codec carves and reassembles a file under the same tokens |
E0269 | provider-render-duplicate-path | provider guest returned two output files under one path; a conforming guest returns each output path at most once |
E0270 | link-patch-file-not-emitted | link patch names an output file the dispatch group did not emit; a conforming link patch names a file the group's own render returned |
E0271 | pipeline-emit-file-absent | emit_file side effect carries no file; a conforming emit_file side effect carries a file with its path and content |
E0272 | pipeline-side-effect-kind-undefined | side effect declares a kind the plugin contract does not define; a conforming side effect declares emit_file or emit_crd |
E0273 | rendered-name-unavailable | template reads the name the target gives the resources it renders for the node, and this node's provider reports no such name; a conforming template reads a value the node's own provider supplies |
E0274 | verdict-plugin-identity-changed | the plugin identity recorded as trusted no longer matches what this resolution reports |
E0275 | edit-refused-invalid-result | the edit was refused because the resulting document would not be valid, and nothing was written |
E0276 | schema-evolution | the version being published changes the published predecessor in a way the documented evolution rubric objects to |
E0277 | annotation-prefix | an annotation key on the entity uses a prefix the platform reserves |
E0278 | name-shape | the entity's name does not follow the documented name shape for its kind |
E0279 | dynamic-refs | a schema in the entity uses a dynamic reference construct that cross-document reference resolution cannot follow |
E0280 | id-overrides | a schema in the entity declares an identifier of its own, where the platform owns that schema's identity |
E0281 | category-matches-directory | the entity's category label does not match the category directory the entity is filed under |
E0282 | x-aggrega-discouragement | the entity writes an Aggrega schema extension directly into schema content instead of declaring it under usesSchema or featuresSchema |
E0283 | plugin-default-limits | the Plugin entity declares no runtime resource cap of its own, so the platform defaults apply |
E0284 | secret-slot-declares-sensitive | an attachment slot admits only secret material and does not declare that it handles it |
E0285 | provides-declared-by-component | the Recipe publishes a provides key the Component it implements does not declare, so a consumer wiring that key is refused |
E0286 | publish-bump-below-classification | the version bump being published is smaller than the evolution check's classification of the change requires |
E0287 | import-halting-diagnostic | the importer reported a diagnostic that stops the import, so the source was not fully turned into draft authoring files |
E0288 | plugin-cannot-express-input | a plugin has no expression for a construct this build declares |
E0289 | plugin-required-input-unresolved | a plugin could not resolve something it requires to exactly one value |
E0290 | plugin-output-name-collision | two things a plugin produced occupy one name in its output |
E0291 | plugin-value-not-representable | a plugin has no representation for a value it was given |
E0292 | plugin-failure-unclassified | a plugin reported a failure that none of the declared kinds names |
E0293 | wasm-guest-condition-undeclared | wasm: guest plugin named a condition the socket does not declare |
E0294 | subsystem-component-identity-collision | components in different subsystems take the same identity: rename one of them, since a subsystem contributes nothing to a component's identity |
E0295 | library-reference-whitespace | library reference: a reference to a library entry carries no whitespace or line break |
E0296 | release-chain-composes-both-routing-keys | release extends chain composes both named boundaries and top-level components: declare one routing shape across the chain, never both |
E0297 | inherited-boundary-directory-is-literal | inherited boundary directory carries no template variable, so it resolves to the path the extended Release writes to |
E0298 | bundle-no-entity-document | oci: published bundle carries no entity document |
E0299 | bundle-ambiguous-entity-document | oci: published bundle carries more than one entity document |
E0300 | bundle-unreadable | oci: published bundle cannot be unpacked |
E0301 | published-artifact-not-an-entity | oci: published artifact is not an entity document |
E0302 | entity-not-pinned | an input the entity reads has no pin recorded for it in the entity.lock beside it |
E0303 | entity-shares-its-directory | the entity shares its directory with another entity, and an entity of its kind has a directory of its own |
E0304 | content-outside-entity-directory | a path names content outside the entity's own directory |
E0305 | local-source-content-mismatch | the files of the entity's local source do not match the pins recorded for them in entity.lock |
E0306 | plugin-artifact-not-found | plugin artifact not found on this machine |
E0307 | cache-location-outside-cache | a value a cache location is built from would place cached files outside the place it names in the cache |
E0308 | conflicting-features-reach-one-component | a Feature reaches a component alongside a Feature it declares a conflict with |
E0309 | symbolic-link-in-entity-files | a symbolic link sits among the files an entity carries |
E0310 | offline-registration-without-trust-policy | a registry other than the official hub is not registered offline without a trust policy supplied by hand, because the policy it advertises cannot be fetched; register it once while online, or pin its trust by hand with `aggrega registry add <host> --identity <identity>=<issuer>` or `--key <public-key-file>` |
E0311 | malformed-version-pin | reference carries a malformed version pin |
E0312 | colon-in-provider-binding-capability | a provider socket binding names a capability containing a colon, which no Recipe can select |
E0313 | provider-binding-capability-unserved | plugins.providers entry names a capability no provider-rendering plugin the build reads serves |
E0314 | plugin-built-from-uncommitted-changes | plugin was built from a working tree with uncommitted changes, so no commit reproduces the version it reports |
E0315 | connection-attachment-slot-undeclared | a connection carries an attachment under a name its socket declares no slot for |
E0316 | connection-attachment-written-off-its-connection | a Release attachment takes the name of an attachment one of a component's connections carries |
E0317 | release-connection-attachment-untyped | a Release connection attachment names no Feature type, and the type is required for an attachment only the Release makes |
E0318 | attachment-inject-mapping-key-collision | duplicate delivery key across two attachments: an attachment's FeatureRecipe writes a delivery key another attachment already delivered |
E0319 | duplicate-connection-alias | connection alias is already used by another connection of the same component |
E0320 | write-leads-out-of-workspace | a path this operation writes or deletes leads through a link out of the directory it must stay inside |
E0321 | read-leads-out-of-workspace | a file this operation reads leads through a link out of the directory it must stay inside |
E0323 | caller-render-facts-not-declared | template reads its callers' render facts, but the FeatureRecipe does not set readsCallerRenderFacts |
E0324 | reference-leads-out-of-workspace | a reference a document makes to another file leads out of the directory it must stay inside |
E0325 | provider-render-fact-not-list | provider guest reported a render fact whose value is not a list; a conforming guest reports every render fact's value as a JSON array, even with one entry |
E0326 | pipeline-step-reads-caller-render-facts | pipeline step reads its callers' render facts, but a pipeline step does not read the components connecting to its host; it reads only the host's own render facts |
E0327 | index-of-absent-map-key | template indexes a map with a key the map does not hold |
E0328 | misnamed-slot-fill | attachment written under a name no slot declares fits a slot its component leaves empty |
E0329 | connection-credential-matches-target-key | a connection and the target it reaches do not name one key: they write different locators for it, or only one of them names one |
E0330 | mixed-signing-credentials | signing: the references named together need different signing credentials, so nothing was signed |
E0331 | signature-not-recorded | signing: no verified signature is recorded for an artifact that requires one |
E0332 | signature-for-another-artifact | signing: the recorded signature was made for a different artifact |
E0333 | recorded-signature-out-of-date | signing: a recorded signature is not the one a pull would record |
E0334 | omit-matched-nothing | an omits entry left out nothing the source rendered |
E0335 | unsupported-omits | provider does not support omits |
E0336 | omit-report-mismatch | a provider's omitted counts do not match the omits entries it was handed |
E0337 | importer-version-unsatisfiable | no importer plugin version satisfies the plugins.importer entry's version pin |
E0338 | duplicate-importer-attachment | importer is attached by more than one plugins.importer entry |
E0339 | ambiguous-import-format | more than one importer recognises the source |
E0340 | name-windows-cannot-hold | a name this operation writes holds a path segment Windows cannot hold as written |
E0341 | importer-declares-no-file-patterns | the importer serving the source's format declares no file patterns, so it reads one file and cannot read a directory |
E0342 | import-directory-matched-nothing | no file in the directory matches the file patterns the importer serving the source's format declares |
E0343 | import-source-name-collision | a file read from the directory and a file named in the importer's `with.sources` have the same name |
E0344 | windows-unusable-entry | an entry this publication carries cannot be used on Windows |
E0345 | duplicate-container-environment-variable | a container declares one environment variable twice |
E0346 | metrics-credential-annotation-matches-provides | a Component's annotation stating how its metrics authenticate disagrees with whether it declares the provides key saying an instance's metrics need a credential |
E0347 | target-render-facts-not-declared | template reads the render facts of a component its host is wired to, but the FeatureRecipe does not set readsTargetRenderFacts |
E0348 | pipeline-step-reads-target-render-facts | pipeline step reads the render facts of a component its host is wired to, but a pipeline step reads only the host's own render facts |
E0349 | import-target-unbound | no Recipe in the workspace's catalog binds to the capability the import's target names |
E0350 | unrecognised-import-format | no importer recognises the source |
E0351 | unsupported-boundary-artifacts | provider does not support boundary artifacts |
E0352 | boundary-directory-not-beneath-output-root | boundary output directory does not name a directory beneath the output root |
E0353 | boundary-feature-name-not-a-directory | boundary-level Feature instance name is not a directory name |
E0354 | cross-boundary-link-value-not-copied | a template does more than copy a value it reads off a cross-boundary link |
E0355 | inject-delivery-shape | inject delivery: shape must be a list of entries, each `in:` with exactly one of `from:` or `value:` |
E0356 | suspend-requires-scheduled-form | suspend requires form: scheduled |
E0357 | name-mapping-matched-nothing | a Manifest name mapping's key names no component instance or attachment in this build, so the entry binds nothing |
E0358 | uses-target-not-exported | uses edge target names a component its module does not export |
E0359 | source-adapter-not-registered | no source adapter is registered in this program for the source kind |
E0360 | netrc-file-unreadable | the netrc file could not be read |
E0361 | source-url-carries-credential | the source URL carries a credential |
E0362 | uses-inject-value | inject entry on a connection carries `value:`; a connection delivers the target's published keys, each named with `from:` |
E0363 | annotation-subkey-not-bound | annotation subkey is not routed by the annotation's binding |
E0364 | value-template-execution-failed | a value template failed while it ran |
E0365 | boundary-contribution-not-assembled | boundary-level Feature's output is routed to a dispatch path nothing assembles |
E0366 | inject-mapping-output-not-parsable | FeatureRecipe injectMapping output could not be read as a dictionary of deliveries |
E0367 | annotation-scalar-not-routable | a scalar annotation value does not route to exactly one path of its binding |
E0368 | inject-mapping-output-key-not-delivered | FeatureRecipe injectMapping output writes a key no delivery mechanism of the host reads |
E0369 | absent-path-read-and-iterated | template reads a path as a value and iterates it, and the data holds nothing at that path |
E0370 | duplicate-pipeline-step-id | a pipeline declares one step id twice |
E0371 | unknown-catalog-document-kind | catalog document declares a kind a catalog does not hold |
E0372 | attachment-inject-value | inject entry on an attachment carries `value:`; an attachment delivers the keys its FeatureRecipe publishes, each named with `from:`, and a literal belongs in the component's own inject block |
E0373 | retired-api-version | a document declares an API version this compiler no longer reads |
E0374 | retired-abi-version | a plugin declares a plugin ABI version this compiler no longer speaks |
E0375 | retired-media-type | oci: artifact carries a media type this compiler no longer reads |
E0376 | no-answer-in-time | egress: the server did not answer in time |
E0377 | repository-listing-too-long | registry: the repository listing did not end in time |
E0378 | registry-too-busy | oci: the registry kept asking to slow down |
E0379 | oci-module-source-malformed | the source does not name one artifact of its OCI module kind |
E0380 | fetch-server-error | oci: the registry answered with a server error |
E0381 | fetch-interrupted | oci: the transfer from the registry broke off |
E0382 | conflicting-version-constraints | no version of a component or feature type satisfies every constraint declared on the instance |
E0002सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। यह ग्राफ़ के स्टैटिक अनुबंधों की जाँच के दौरान विफल होने वाले कैटलॉग लुकअप का नाम लेता था — जो किसी ऑथर किए गए दस्तावेज़ में नहीं, बल्कि कंपाइलर में दोष है — और अब उस अवस्था की रिपोर्ट वह स्थिति करती है जो तब उठाई जाती है जब कोई बिल्ड ऐसा घटक टाइप रिज़ॉल्व करता है जिसके लिए, जिस कैटलॉग को वह पढ़ता है उसमें तब कोई प्रविष्टि नहीं होती, और उसका कोडE0154है।E0134सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। यह ऐसी प्रकाशन योग्य एंटिटी का नाम लेता था जिसकी डायरेक्टरी का नाम एंटिटी द्वारा घोषित संस्करण के अनुसार नहीं रखा गया था; प्रकाशन किसी डायरेक्टरी के नाम को नहीं परखता, और जब कोई एंटिटी अपनी डायरेक्टरी किसी अन्य एंटिटी के साथ साझा करती है जबकि उसके kind की अपनी एक डायरेक्टरी होती है, तब उठाई जाने वाली स्थितिE0303है।E0157सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। यह ऐसी Aggregate कुंजी का नाम लेता था — किसी घटक, फ़ीचर, सबसिस्टम या नेस्टेड-मॉड्यूल इंस्टेंस का नाम — जो ऑथर किए गए नाम के पैटर्न से मेल नहीं खाती थी। उन सभी कुंजी सतहों को Aggregate स्कीमा उसी वर्तनी तक सीमित करता है, जो दस्तावेज़ के एनवेलप को वैलिडेट करते समय उसे अस्वीकार करता है और उल्लंघनकारी कुंजी को पंक्ति और कॉलम के साथ रिपोर्ट करता है; उस स्थिति का कोडE0215है।E0159सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। यह ऐसे लक्ष्य रेफ़रेंस का नाम लेता था जिसके बिंदु से अलग किए गए सभी सेगमेंट इंस्टेंस-नाम पैटर्न से मेल नहीं खाते थे, और स्थिति वापस लिए जाने से पहले किसी भी बिल्ड ने इसकी रिपोर्ट नहीं की।E0166सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। यह उस फ़ाइल का नाम लेता था जिसकी ओर किसी Release काparameters: { $import: … }इंगित करता है, जब वह फ़ाइल पढ़ी नहीं जा सकी या उसके बाइट पार्स नहीं हुए; कोई दस्तावेज़ न देने वाली फ़ाइल एक ही स्थिति है, पाथ चाहे जहाँ लिखा गया हो, और उसका कोडE0175है।E0203सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। यहevalक्षमता पर ऐसे FeatureRecipe का नाम लेता था जिसने कोई सोर्स, values ओवरले, वर्कलोड या आर्टिफ़ैक्ट घोषित किए थे; वह क्षमता वापस ले ली गई, और अब कुछ भी इस अवस्था की रिपोर्ट नहीं करता।E0206सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। यहevalक्षमता पर ऐसे Recipe का नाम लेता था जिसने कोई सोर्स, वर्कलोड, आर्टिफ़ैक्ट या values ओवरले घोषित किया था; वह क्षमता वापस ले ली गई, और इनमें से कुछ भी घोषित न करने वाला Recipe हर क्षमता परE0210के अंतर्गत अस्वीकार किया जाता है।E0217सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। यह ऐसी स्कीमा-वैलिडेशन विफलता का नाम लेता था जिसे किसी विशेष फ़ील्ड के विरुद्ध रिपोर्ट नहीं किया जा सका, और स्थिति वापस लिए जाने से पहले किसी भी बिल्ड ने इसकी रिपोर्ट नहीं की।E0219सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। यह चक्रीयextendsचेन का नाम लेता था, जिसकी रिपोर्ट स्कीमा मर्ज के संयोजन चरण से अलग एक चेन वॉक करता था; एक ही चेन वॉक हर चक्रीय चेन की रिपोर्ट करता है, और उसका कोडE0202है।E0230सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0231सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0232सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0233सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0234सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। यह ऐसे Recipe सोर्स का नाम लेता था जो खाली स्ट्रिंग है, जिसकी रिपोर्ट compose प्रोवाइडर के ज़रिए रेंडर करते समय होती थी; अब हर प्रोवाइडर को कवर करने वाली एक स्थिति इसकी रिपोर्ट करती है, और उसका कोडE0251है।E0235सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0236सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0237सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0238सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0239सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0240सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0241सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0242सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। यह ऐसे Recipe सोर्स का नाम लेता था जो खाली स्ट्रिंग है, जिसकी रिपोर्ट Helm प्रोवाइडर के ज़रिए रेंडर करते समय होती थी; अब हर प्रोवाइडर को कवर करने वाली एक स्थिति इसकी रिपोर्ट करती है, और उसका कोडE0251है।E0243सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0244सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0245सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0249सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0258सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। इस संख्या द्वारा नामित स्थिति वापस ले ली गई, और कोई भी बिल्ड इसकी रिपोर्ट नहीं करता।E0322सेवानिवृत्त है: अब कुछ भी इसकी रिपोर्ट नहीं करता, और यह संख्या कभी किसी अलग स्थिति को नहीं दी जाती। यह ऐसे मान का नाम लेता था जिसे किसी बाउंड्री से अटैच किए गए Feature ने किसी घटक के एनवायरनमेंट के लिए ऐसी कुंजी के अंतर्गत परिकलित किया था जिसे कोई अन्य अटैचमेंट पहले ही पहुँचा चुका था। किसी बाउंड्री से अटैच किया गया Feature किसी घटक में केवल अपने FeatureRecipe के injectMapping के ज़रिए पहुँचाता है, और ऐसी कुंजी लिखने वाली मैपिंग, जिसे कोई अन्य अटैचमेंट पहुँचा चुका है,E0318के अंतर्गत रिपोर्ट की जाती है।
मिलान संबंधी मार्गदर्शन
errors.Is प्रेडिकेट रैप चेन को खंगालता है, इसलिए सेंटिनल मिलान तब भी काम करता है जब त्रुटि आप तक लौटते हुए कई बार रैप की गई हो। किसी एक्सपोर्ट किए गए फ़ंक्शन द्वारा लौटाई गई त्रुटि से मिलान करें:
package release
import ( "errors" "fmt"
"github.com/aggrega-ai/aggrega-cli/pkg/resolver" "github.com/aggrega-ai/aggrega-cli/pkg/validator/envelope")
// Load reads a Release and reports the distinct failures a caller handles// differently.func Load(path string) error { _, err := resolver.LoadRelease(path) switch { case errors.Is(err, envelope.ErrEntityEnvelope()): return fmt.Errorf("%s is not a Release: %w", path, err) case errors.Is(err, resolver.ErrYAMLLoad()): return fmt.Errorf("%s could not be read as YAML: %w", path, err) case err != nil: return err } return nil}पूरा बिल्ड चलाने वाला कोई एक्सपोर्ट किया गया एंट्री पॉइंट नहीं है, इसलिए errors.Is मिलान इन पैकेज को सीधे कॉल करने वाले कोड पर लागू होता है। किसी बिल्ड पर CI को गेट करने के लिए, aggrega build चलाएं और उसका एग्ज़िट स्टेटस और उसके डायग्नोस्टिक पढ़ें: उनका संदेश टेक्स्ट fatal-halts.md में सूचीबद्ध है, उनकी श्रेणी error-translation.md में, और उनके कोष्ठकयुक्त शीर्ष का शॉर्ट कोड इस पेज पर हर स्थिति की तालिका में रिज़ॉल्व होता है।
गेट करने के दो रास्ते इसलिए मौजूद हैं क्योंकि तीनों पहचानकर्ता अलग-अलग दूरियों तक पहुँचते हैं। Go में लिखा गया गेट इन पैकेज को लिंक करता है, सेंटिनल से मिलान करता है, और अपने पास मौजूद किसी भी त्रुटि से दोनों में से कोई भी कोड पढ़ सकता है। कमांड के इर्द-गिर्द लिखे गए गेट के पास एग्ज़िट स्टेटस और प्रिंट हुआ टेक्स्ट होता है — और प्रिंट हुआ टेक्स्ट स्थिति का नाम लेता है, क्योंकि शॉर्ट कोड कोष्ठकयुक्त शीर्ष में होता है। इसलिए ऐसा गेट संदेश के शब्दों के बजाय उस शॉर्ट कोड को कुंजी बनाता है, और संदेश-आधारित दृश्य उसके पास पहले से मौजूद शब्दों से पीछे की ओर काम करने का तरीका बने रहते हैं। Go से सेंटिनल का मिलान करें; कमांड के इर्द-गिर्द शॉर्ट कोड को कुंजी बनाएं; जहाँ कोई क्लाइंट वह प्रोटोकॉल बोलता है, वहाँ संरचित डायग्नोस्टिक से वर्णनात्मक कोड पढ़ें।
अलग-अलग पैकेज में एक ही छोटे नाम से घोषित सेंटिनल अलग-अलग स्थितियाँ हैं, एक ही स्थिति की दो वर्तनियाँ नहीं: errors.Is उनमें आइडेंटिटी के आधार पर अंतर करता है, इसलिए एक से मिलान दूसरे से मेल नहीं खाता। तालिकाओं में बताए गए फिर से किए गए एक्सपोर्ट अपवाद हैं, और उन्हें ठीक इसीलिए बताया गया है कि वे ऐसा मामला हैं जहाँ दो नाम वास्तव में मेल खाते हैं। उस पैकेज के नाम से मिलान करें जिसके अंतर्गत तालिकाएँ उसे सूचीबद्ध करती हैं, और अकेले छोटे नाम को अस्पष्ट मानें।
उपयोगकर्ता के सामने आने वाले डायग्नोस्टिक की सूची के लिए (वे संदेश जो बिल्ड रुकने पर डेवलपर अपने टर्मिनल में देखते हैं), fatal-halts.md देखें। सलाहकारी चेतावनियों की सूची के लिए (बिल्ड न रोकने वाला warning:, lint: और notice: आउटपुट), warnings.md देखें। श्रेणी-उपसर्ग वर्गीकरण के लिए ([DEVELOPER_ERROR] / [OPS_ERROR] / [CATALOG_ERROR] / [TRANSLATION_ERROR] / [FETCH_ERROR] / [POLICY_ERROR] / [TRUST_ERROR]), error-translation.md देखें।