Published angel3_http_exception
This commit is contained in:
parent
b6dbeb2ce7
commit
b56724aab5
4 changed files with 8 additions and 5 deletions
|
@ -1,5 +1,8 @@
|
|||
# http_exception
|
||||
[![Pub](https://img.shields.io/pub/v/angel_http_exception.svg)](https://pub.dartlang.org/packages/angel_http_exception)
|
||||
[![version](https://img.shields.io/badge/pub-v2.12.4-brightgreen)](https://pub.dartlang.org/packages/angel3_http_exception)
|
||||
[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety)
|
||||
|
||||
[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/angel3/http_exception)
|
||||
|
||||
Exception class that can be serialized to JSON and serialized to clients.
|
||||
Angel's HTTP exception class.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import 'package:angel_http_exception/angel_http_exception.dart';
|
||||
import 'package:angel3_http_exception/angel3_http_exception.dart';
|
||||
|
||||
void main() =>
|
||||
throw AngelHttpException.notFound(message: "Can't find that page!");
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
library angel_http_exception;
|
||||
library angel3_http_exception;
|
||||
|
||||
//import 'package:dart2_constant/convert.dart';
|
||||
import 'dart:convert';
|
|
@ -1,7 +1,7 @@
|
|||
name: angel_http_exception
|
||||
name: angel3_http_exception
|
||||
version: 3.0.0
|
||||
description: Exception class that can be serialized to JSON and serialized to clients.
|
||||
homepage: https://github.com/dukefirehawk/angel
|
||||
homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/http_exception
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
dev_dependencies:
|
||||
|
|
Loading…
Reference in a new issue