mirror of
https://github.com/dathere/ckanaction.git
synced 2026-05-20 01:44:16 +00:00
fix: update docs and errors with CKANError
This commit is contained in:
parent
677475f750
commit
e5d4f8d442
5 changed files with 18 additions and 11 deletions
|
|
@ -48,10 +48,11 @@ paths:
|
|||
- lang: rust
|
||||
label: Rust SDK (ckanaction) example
|
||||
source: |
|
||||
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()?;
|
||||
|
||||
|
|
@ -420,10 +421,11 @@ paths:
|
|||
- lang: rust
|
||||
label: Rust SDK (ckanaction) example
|
||||
source: |
|
||||
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()?;
|
||||
|
||||
|
|
@ -814,10 +816,11 @@ paths:
|
|||
- lang: rust
|
||||
label: Rust SDK (ckanaction) example
|
||||
source: |
|
||||
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()?;
|
||||
|
||||
|
|
@ -1024,10 +1027,11 @@ paths:
|
|||
- lang: rust
|
||||
label: Rust SDK (ckanaction) example
|
||||
source: |
|
||||
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()?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue