use relate_core::Error;
pub(super) fn byte_limit_exceeded() -> Error {
Error::execution("LOAD CSV file exceeds byte limit")
}
pub(super) fn not_enabled() -> Error {
Error::execution("LOAD CSV remote sources are not enabled")
}
pub(super) fn malformed_url() -> Error {
Error::execution("LOAD CSV remote URL is not valid")
}
pub(super) fn credentials_refused() -> Error {
Error::execution("LOAD CSV remote URL must not carry credentials")
}
pub(super) fn not_utf8() -> Error {
Error::execution("LOAD CSV remote source is not valid UTF-8 text")
}