Avoid fatal error on ERROR type.
am: 4ff04aa17a

Change-Id: I8f6ff112c0a42b2cfb98f0eea2329d4d48eb2268
diff --git a/aidl_const_expressions.cpp b/aidl_const_expressions.cpp
index 64aab78..828e17a 100644
--- a/aidl_const_expressions.cpp
+++ b/aidl_const_expressions.cpp
@@ -467,6 +467,8 @@
     case Type::BINARY:
       is_valid_ = true;
       break;
+    case Type::ERROR:
+      return false;
     default:
       AIDL_FATAL(this) << "Unrecognized constant value type: " << ToString(type_);
       return false;