Fix fabric::Error usage and implementation