From c990963298cf7670595b95bad0019852014cb716 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Tue, 21 Jun 2016 10:54:13 -0700 Subject: [PATCH] Expose filesystem_error code. --- firmware/application/file.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/application/file.hpp b/firmware/application/file.hpp index 6d3453e69..7504fb93f 100644 --- a/firmware/application/file.hpp +++ b/firmware/application/file.hpp @@ -56,6 +56,10 @@ struct filesystem_error { { } + uint32_t code() const { + return err; + } + std::string what() const; private: