Docs.rs
ts-error-0.4.0
ts-error 0.4.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
crates.io
Source
Owners
TrentShailer
Dependencies
log ^0.4
normal
optional
ts-ansi ^0.2
normal
ts-error-derive ^0.1
normal
optional
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
normalize_message
ts_
error
0.4.0
ts_error
Function
normalize_
message
Copy item path
Source
pub fn normalize_message<S:
ToString
>(message: S) ->
String
Expand description
Normalize an error message.
Starts with lowercase character unless followed by an uppercase character.
Does not end with any punctuation.