این اسکیل چه میکند؟
مدیریت خطای اصطلاحی Go؛ ساخت، wrapping با %w، errors.Is/As، errors.Join، نوع سفارشی، sentinel، panic/recover، قاعدهٔ رسیدگی یکباره، slog، middleware log درخواست HTTP و samber/oops تولیدی؛ برای log مقیاسپذیر با ابزار تجمیع ثالث، هنگام ساخت/wrap/بررسی/log خطا.
Idiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the single handling rule, structured logging with slog, HTTP request logging middleware, and samber/oops for production errors. Built to make logs usable at scale with log aggregation 3rd-party tools. Apply when creating, wrapping, inspecting, or logging errors in Go code.
چه زمانی به کار میآید؟
در دادهٔ اصلی، کاربرد جداگانهای ثبت نشده است. توضیح بالا و صفحهٔ منبع را ببینید.
کاربردهای مرتبط
برچسبگذاری خودکار بر اساس نام و توضیح؛ ممکن است نیازمند اصلاح باشد.