docs: added troubleshooting component (#4255)

This commit is contained in:
Shahed Nasser
2023-06-06 15:18:23 +03:00
committed by GitHub
parent 926e284bac
commit b1c63c5476
64 changed files with 607 additions and 257 deletions
@@ -0,0 +1,25 @@
---
title: 'AwilixResolutionError: Could Not Resolve X'
---
import ServiceLifetimeSection from './awilix-resolution-error/_service-lifetime.md'
import CustomRegistrationSection from './awilix-resolution-error/_custom-registration.md'
import FreshInstallationSection from './awilix-resolution-error/_fresh-installation.md'
This troubleshooting guide will help you figure out the different situations that can cause an `AwilixResolutionError`.
## Option 1: Service Lifetime
<ServiceLifetimeSection />
---
## Option 2: Using Try-Catch Block with Custom Registration
<CustomRegistrationSection />
---
## Option 3: Error on A Fresh Installation
<FreshInstallationSection />