docs: added troubleshooting component (#4255)
This commit is contained in:
@@ -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 />
|
||||
Reference in New Issue
Block a user