fix: update docs and errors with CKANError

This commit is contained in:
rzmk 2026-05-05 16:48:56 -04:00
parent 677475f750
commit e5d4f8d442
5 changed files with 18 additions and 11 deletions

View file

@ -13,10 +13,11 @@ cargo add ckanaction
Run `/package_list` endpoint with a limit of 5 results per page and print the output:
```rust
use ckanaction::CKANError;
use dotenvy::dotenv;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
async fn main() -> Result<(), CKANError> {
// Load environment variables from .env file
dotenv()?;