Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03k
1<p align=center>2 AssertionError and AssertionResult classes.3</p>4 5<p align=center>6 <a href="https://github.com/chaijs/assertion-error/actions">7 <img8 alt="build:?"9 src="https://github.com/chaijs/assertion-error/actions/workflows/nodejs.yml/badge.svg"10 />11 </a><a href="https://www.npmjs.com/package/assertion-error">12 <img13 alt="downloads:?"14 src="https://img.shields.io/npm/dm/assertion-error.svg"15 />16 </a><a href="">17 <img18 alt="devDependencies:none"19 src="https://img.shields.io/badge/dependencies-none-brightgreen"20 />21 </a>22</p>23 24## What is AssertionError?25 26Assertion Error is a module that contains two classes: `AssertionError`, which27is an instance of an `Error`, and `AssertionResult` which is not an instance of28Error.29 30These can be useful for returning from a function - if the function "succeeds"31return an `AssertionResult` and if the function fails return (or throw) an32`AssertionError`.33 34Both `AssertionError` and `AssertionResult` implement the `Result` interface:35 36```typescript37interface Result {38 name: "AssertionError" | "AssertionResult";39 ok: boolean;40 toJSON(...args: unknown[]): Record<string, unknown>;41}42```43 44So if a function returns `AssertionResult | AssertionError` it is easy to check45_which_ one is returned by checking either `.name` or `.ok`, or check46`instanceof Error`.47 48## Installation49 50### Node.js51 52`assertion-error` is available on [npm](http://npmjs.org).53 54```55$ npm install --save assertion-error56```57 58### Deno59 60`assertion_error` is available on61[Deno.land](https://deno.land/x/assertion_error)62 63```typescript64import {65 AssertionError,66 AssertionResult,67} from "https://deno.land/x/assertion_error@2.0.0/mod.ts";68```69 