tailwind-error 1.3.3

Tailwind Error Handlers
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::TailwindError;
use glob::{GlobError, PatternError};

impl From<PatternError> for TailwindError {
    fn from(e: PatternError) -> Self {
        TailwindError::runtime_error(e.to_string())
    }
}

impl From<GlobError> for TailwindError {
    fn from(e: GlobError) -> Self {
        TailwindError::runtime_error(e.to_string())
    }
}