Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fed_dev/deps.ts>postcss.CssSyntaxError#toString

A Bundler with the web in mind.
Latest
method postcss.CssSyntaxError.prototype.toString
Re-export
import { postcss } from "https://deno.land/x/fed_dev@0.9.0/deps.ts";
const { CssSyntaxError } = postcss;

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.