live2d_parser/errors/
convert.rs

1use crate::L2Error;
2use std::string::FromUtf8Error;
3
4impl From<FromUtf8Error> for L2Error {
5    fn from(e: FromUtf8Error) -> Self {
6        L2Error::EncodeError { format: "utf8".to_string(), message: e.to_string() }
7    }
8}