mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
Fix roblox document error messages missing details
This commit is contained in:
parent
ffe0ce1f52
commit
f1b780af7d
2 changed files with 8 additions and 2 deletions
|
@ -8,6 +8,12 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed error messages for reading & writing roblox files not containing the full error message
|
||||
|
||||
## `0.6.3` - March 26th, 2023
|
||||
|
||||
### Added
|
||||
|
|
|
@ -7,9 +7,9 @@ pub enum DocumentError {
|
|||
UnknownKind,
|
||||
#[error("Unknown document format")]
|
||||
UnknownFormat,
|
||||
#[error("Failed to read document from buffer")]
|
||||
#[error("Failed to read document from buffer - {0}")]
|
||||
ReadError(String),
|
||||
#[error("Failed to write document to buffer")]
|
||||
#[error("Failed to write document to buffer - {0}")]
|
||||
WriteError(String),
|
||||
#[error("Failed to convert into a DataModel - the given document is not a place")]
|
||||
IntoDataModelInvalidArgs,
|
||||
|
|
Loading…
Reference in a new issue