OffchainLabs / stylus-sdk-rs

Rust Smart Contracts on Arbitrum
249 stars 80 forks source link

feat: possibility to reuse errors under SolidityError macro #136

Open qalisander opened 4 months ago

qalisander commented 4 months ago

Description

Adds implementation of stylus_sdk::call::MethodError trait inside SolidityError macro.

Resolves #135

Checklist

qalisander commented 3 months ago

@rory-ocl does this feature seems rational to you? we're currently implementing them by ourselves.