Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method default.prototype.toString
import { default } from "https://deno.land/x/postcss@8.4.16/lib/css-syntax-error.js";

Returns error position, message and source code of the broken part.

error.toString() //=> "CssSyntaxError: app.css:1:1: Unclosed block
                 //    > 1 | a {
                 //        | ^"

Returns

string

Error position, message and source code.