project-chip / rs-matter

Rust implementation of the Matter protocol. Status: Experimental
Apache License 2.0
329 stars 45 forks source link

Add a boxed dyn error to make error info easier to access on hosted systems #93

Closed ssnover closed 1 year ago

ssnover commented 1 year ago

At this point I've just added it for std:io::Error since that error is the most common for hosted systems. It might make sense to add a feature called hosted which enables std and backtrace, macos could require hosted.

ivmarkov commented 1 year ago

@kedars I'm also fine with this PR in its current shape.