hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

types.ha (321B)


      1 // SPDX-License-Identifier: MPL-2.0
      2 // (c) Hare authors <https://harelang.org>
      3 
      4 use errors;
      5 
      6 // All error types that can be returned from [[poll]].
      7 export type error = !errors::error;
      8 
      9 // Converts an [[error]] into a human-friendly string representation.
     10 export fn strerror(err: error) const str = errors::strerror(err);