mirror of
https://github.com/fluencelabs/interface-types
synced 2025-06-27 05:31:42 +00:00
feat(interface-types) Use better errors.
The new `errors` module contains structure to represent errors, instead of using basic strings. The first usage is in the interpreter itself.
This commit is contained in:
@ -5,7 +5,7 @@ use crate::interpreter::Instruction;
|
||||
use std::str;
|
||||
|
||||
/// Represents the types supported by WIT.
|
||||
#[derive(PartialEq, Debug)]
|
||||
#[derive(PartialEq, Debug, Clone)]
|
||||
pub enum InterfaceType {
|
||||
/// A 8-bits signed integer.
|
||||
S8,
|
||||
|
Reference in New Issue
Block a user